https://bugzilla.wikimedia.org/show_bug.cgi?id=52294
--- Comment #5 from Alexia E. Smith <[email protected]> --- (In reply to comment #4) > The removal of tableName() would break installations with DB prefix. You're absolutely right. I took it out since the identifier quotes broke the query. Adding the raw parameter with tableName() fixes that. Adding: $table = $this->tableName( $table, 'raw' ); function tableExists( $table, $fname = __METHOD__ ) { $table = $this->tableName( $table, 'raw' ); $old = $this->ignoreErrors( true ); $res = $this->query( "SHOW TABLES LIKE '$table'", $fname ); $row = $this->fetchRow($res); $this->ignoreErrors( $old ); return (bool)$row; } -- 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
