From d9d359fea98e1a04850738cb75cd9dc486f3ea97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 8 May 2014 13:59:03 +0200 Subject: [PATCH] Remove not needed parsing of query MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It was needed when we highlighted the SQL query in PHP, but it's not the case anymore. Signed-off-by: Michal Čihař --- libraries/Util.class.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libraries/Util.class.php b/libraries/Util.class.php index 51da7b0ec5..76fb4a581a 100644 --- a/libraries/Util.class.php +++ b/libraries/Util.class.php @@ -1091,9 +1091,6 @@ class PMA_Util . "\n" . $GLOBALS['sql_order_to_append'] . $analyzed_display_query[0]['limit_clause'] . ' ' . $analyzed_display_query[0]['section_after_limit']; - - // Need to reparse query - $parsed_sql = PMA_SQP_parse($query_base); // update the $analyzed_display_query $analyzed_display_query[0]['section_before_limit'] .= $GLOBALS['sql_order_to_append']; @@ -1119,8 +1116,6 @@ class PMA_Util $query_base = $analyzed_display_query[0]['section_before_limit'] . "\n" . $GLOBALS['sql_limit_to_append'] . $analyzed_display_query[0]['section_after_limit']; - // Need to reparse query - $parsed_sql = PMA_SQP_parse($query_base); } }