From 802bc3df56daf1e1746ec09b6d427a91781160ef Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 21 Aug 2004 13:41:41 +0000 Subject: [PATCH] commands out of sync while displaying inline jpeg in mysqli --- transformation_wrapper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/transformation_wrapper.php b/transformation_wrapper.php index 07c9f6c7b..1237b1719 100644 --- a/transformation_wrapper.php +++ b/transformation_wrapper.php @@ -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); }