https://bugzilla.wikimedia.org/show_bug.cgi?id=52294

--- Comment #3 from Alexia E. Smith <[email protected]> ---
I just finished testing this code against our development environment and made
a few changes.  The table tableName() call was removed since this is text
search now and a fetchRow() is called since $res is always an object.

        function tableExists( $table, $fname = __METHOD__ ) {
                $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

Reply via email to