diff --git a/tbl_printview.php b/tbl_printview.php index d61464f80..b63f6609a 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -131,7 +131,7 @@ foreach ($the_tables AS $key => $table) { /** * Gets fields properties */ - $result = PMA_DBI_query('SHOW FIELDS FROM ' . PMA_backquote($table) . ';'); + $result = PMA_DBI_query('SHOW FIELDS FROM ' . PMA_backquote($table) . ';', NULL, PMA_DBI_QUERY_STORE); $fields_cnt = PMA_DBI_num_rows($result); // Check if we can use Relations (Mike Beck)