From 88c398c43b4fa03a347c302d88b63d64b32891d9 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 4 Jun 2003 16:33:30 +0000 Subject: [PATCH] bug 683975 --- ChangeLog | 1 + libraries/sqlparser.lib.php3 | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 409f7aa54..699f68cdf 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2003-06-04 Marc Delisle * libraries/sqlparser.lib.php3: bug 592692, pretty printer and GRANT or REVOKE + * libraries/sqlparser.lib.php3: bug 683975, various pretty printer bugs 2003-06-04 Michal Cihar * mult_submits.inc.php3: Use TRUNCATE when using MySQL 4 (bug #748792). diff --git a/libraries/sqlparser.lib.php3 b/libraries/sqlparser.lib.php3 index f475658d4..a26a6803e 100644 --- a/libraries/sqlparser.lib.php3 +++ b/libraries/sqlparser.lib.php3 @@ -1461,13 +1461,16 @@ if (!defined('PMA_SQP_LIB_INCLUDED')) { 'AS', 'ASC', 'DESC', + 'DISTINCT', + 'HOUR', + 'INTERVAL', 'IS', 'NOT', 'NULL', 'ON', 'OR' ); - $keywords_no_newline_cnt = 9; + $keywords_no_newline_cnt = 12; // These reserved words introduce a privilege list $keywords_priv_list = array(