From 11f137989172040c717e46a7bd9129059afe8300 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 28 Aug 2008 16:17:53 +0000 Subject: [PATCH] bug #2074250 [parser] Undefined variable seen_from --- ChangeLog | 1 + libraries/sqlparser.lib.php | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7ad94f20c..d425e8874 100644 --- a/ChangeLog +++ b/ChangeLog @@ -89,6 +89,7 @@ danbarry - bug #2037381 [export] Export type "replace" does not work - bug #2037375 [export] DROP PROCEDURE needs IF EXISTS - bug #2045512 [export] Numbers in Excel export +- bug #2074250 [parser] Undefined variable seen_from 2.11.8.0 (2008-07-28) - patch #1987593 [interface] Table list pagination in navi, diff --git a/libraries/sqlparser.lib.php b/libraries/sqlparser.lib.php index 01a1fb323..490b94b9d 100644 --- a/libraries/sqlparser.lib.php +++ b/libraries/sqlparser.lib.php @@ -828,6 +828,7 @@ if (! defined('PMA_MINIMUM_COMMON')) { $number_of_brackets = 0; $in_subquery = false; $seen_subquery = false; + $seen_from = false; // for SELECT EXTRACT(YEAR_MONTH FROM CURDATE()) // we must not use CURDATE as a table_ref