Changed some queries to use MYSQLI_STORE_RESULT.

phpMyAdmin now works with MYSQLI_USE_RESULT as default.
This commit is contained in:
Marcel Tschopp
2004-04-10 16:19:21 +00:00
parent b2e3128634
commit 4e62f7658f
22 changed files with 42 additions and 32 deletions

View File

@@ -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))) {