From 329d1c5f2ebf734bc1c28a1ae8b06da8f7b8af4b Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 3 Oct 2010 08:05:26 +0000 Subject: [PATCH] Added fname parameter to the query() call --- includes/db/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/db/Database.php b/includes/db/Database.php index 450d04b7ad..e249ccb2a0 100644 --- a/includes/db/Database.php +++ b/includes/db/Database.php @@ -1232,7 +1232,7 @@ abstract class DatabaseBase implements DatabaseType { function tableExists( $table ) { $table = $this->tableName( $table ); $old = $this->ignoreErrors( true ); - $res = $this->query( "SELECT 1 FROM $table LIMIT 1" ); + $res = $this->query( "SELECT 1 FROM $table LIMIT 1", __METHOD__ ); $this->ignoreErrors( $old ); return (bool)$res; -- 2.20.1