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); }