Changed some queries to use MYSQLI_STORE_RESULT.
phpMyAdmin now works with MYSQLI_USE_RESULT as default.
This commit is contained in:
@@ -37,7 +37,7 @@ if (!defined('PMA_IDX_INCLUDED')) {
|
||||
}
|
||||
// Not a valid table name -> back to the default db_details sub-page
|
||||
if (!empty($table)) {
|
||||
$is_table = PMA_DBI_query('SHOW TABLES LIKE \'' . PMA_sqlAddslashes($table, TRUE) . '\'');
|
||||
$is_table = PMA_DBI_query('SHOW TABLES LIKE \'' . PMA_sqlAddslashes($table, TRUE) . '\'', NULL, PMA_DBI_QUERY_STORE);
|
||||
}
|
||||
if (empty($table)
|
||||
|| !($is_table && PMA_DBI_num_rows($is_table))) {
|
||||
|
Reference in New Issue
Block a user