From 46fc8af0131d7999f561b1f5d1b9c703319d66b7 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 24 Jun 2008 17:51:49 +0000 Subject: [PATCH] bug #1992628 [parser] SQL parser removes essential space --- ChangeLog | 1 + libraries/sqlparser.data.php | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 98f5863a5..a4dfc5c85 100644 --- a/ChangeLog +++ b/ChangeLog @@ -72,6 +72,7 @@ danbarry - bug #1971221 [interface] tabindex not set correctly - bug [views] VIEW name created via the GUI was not protected with backquotes - bug #1989813 [interface] Deleting multiple views (space in name) +- bug #1992628 [parser] SQL parser removes essential space 2.11.7.0 (2008-06-23) - bug #1908719 [interface] New field cannot be auto-increment and primary key diff --git a/libraries/sqlparser.data.php b/libraries/sqlparser.data.php index 8cf77f6d9..e62fc1054 100644 --- a/libraries/sqlparser.data.php +++ b/libraries/sqlparser.data.php @@ -437,6 +437,7 @@ $PMA_SQPdata_reserved_word = array ( 'COMPRESSED', 'CONCURRENT', 'CONSTRAINT', + 'CONTAINS', 'CONVERT', 'CREATE', 'CROSS', @@ -454,6 +455,7 @@ $PMA_SQPdata_reserved_word = array ( 'DELETE', 'DESC', 'DESCRIBE', + 'DETERMINISTIC', 'DISTINCT', 'DISTINCTROW', 'DIV', @@ -616,6 +618,7 @@ $PMA_SQPdata_reserved_word = array ( 'ROWS', 'ROW_FORMAT', 'SECOND', + 'SECURITY', 'SELECT', 'SEPARATOR', 'SERIALIZABLE', @@ -626,6 +629,7 @@ $PMA_SQPdata_reserved_word = array ( 'SLAVE', 'SONAME', 'SOUNDS', // string-functions.html + 'SQL', 'SQL_AUTO_IS_NULL', 'SQL_BIG_RESULT', 'SQL_BIG_SELECTS', @@ -689,7 +693,7 @@ $PMA_SQPdata_reserved_word = array ( * * @global integer MySQL reserved words count */ -$PMA_SQPdata_reserved_word_cnt = 284; +$PMA_SQPdata_reserved_word_cnt = 288; /** * The previous array must be sorted so that the binary search work. * Sometimes a word is not added in the correct order, so