commands out of sync while displaying inline jpeg in mysqli
This commit is contained in:
@@ -27,12 +27,12 @@ require_once('./libraries/db_table_exists.lib.php');
|
||||
* Get the list of the fields of the current table
|
||||
*/
|
||||
PMA_DBI_select_db($db);
|
||||
$table_def = PMA_DBI_query('SHOW FIELDS FROM ' . PMA_backquote($table));
|
||||
$table_def = PMA_DBI_query('SHOW FIELDS FROM ' . PMA_backquote($table), NULL, PMA_DBI_QUERY_STORE);
|
||||
if (isset($primary_key)) {
|
||||
$result = PMA_DBI_query('SELECT * FROM ' . PMA_backquote($table) . ' WHERE ' . $primary_key . ';');
|
||||
$result = PMA_DBI_query('SELECT * FROM ' . PMA_backquote($table) . ' WHERE ' . $primary_key . ';', NULL, PMA_DBI_QUERY_STORE);
|
||||
$row = PMA_DBI_fetch_assoc($result);
|
||||
} else {
|
||||
$result = PMA_DBI_query('SELECT * FROM ' . PMA_backquote($table) . ' LIMIT 1;');
|
||||
$result = PMA_DBI_query('SELECT * FROM ' . PMA_backquote($table) . ' LIMIT 1;', NULL, PMA_DBI_QUERY_STORE);
|
||||
$row = PMA_DBI_fetch_assoc($result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user