From 55d1360b7e724ed2b3f9542024d3e8291ffcf7f5 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Thu, 29 Sep 2011 21:14:11 +0530 Subject: [PATCH] To avoid a notice on undefined variable --- sql.php | 1 + 1 file changed, 1 insertion(+) diff --git a/sql.php b/sql.php index 6caeb7b0c..6b2628aca 100644 --- a/sql.php +++ b/sql.php @@ -394,6 +394,7 @@ if (strlen($db)) { if (isset($GLOBALS['show_as_php']) || !empty($GLOBALS['validatequery'])) { unset($result); $num_rows = 0; + $unlim_num_rows = 0; } else { if (isset($_SESSION['profiling']) && PMA_profilingSupported()) { PMA_DBI_query('SET PROFILING=1;');