https://bugzilla.wikimedia.org/show_bug.cgi?id=52294
Web browser: ---
Bug ID: 52294
Summary: Database tableExists() produces errors.
Product: MediaWiki
Version: 1.21.1
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Unprioritized
Component: Database
Assignee: [email protected]
Reporter: [email protected]
Classification: Unclassified
Mobile Platform: ---
This call produces errors when it attempts to run SELECT statements against
missing tables. Ideally this call should be running SHOW TABLES to find the
table. This will prevent errors and still return no results if the table is
missing.
Example change at Line 1651:
$res = $this->query( "SHOW TABLES LIKE '$table'", $fname );
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l