bug #1992628 [parser] SQL parser removes essential space

This commit is contained in:
Marc Delisle
2008-06-24 17:51:49 +00:00
parent 0a18e3e005
commit 46fc8af013
2 changed files with 6 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ danbarry
- bug #1971221 [interface] tabindex not set correctly - bug #1971221 [interface] tabindex not set correctly
- bug [views] VIEW name created via the GUI was not protected with backquotes - bug [views] VIEW name created via the GUI was not protected with backquotes
- bug #1989813 [interface] Deleting multiple views (space in name) - bug #1989813 [interface] Deleting multiple views (space in name)
- bug #1992628 [parser] SQL parser removes essential space
2.11.7.0 (2008-06-23) 2.11.7.0 (2008-06-23)
- bug #1908719 [interface] New field cannot be auto-increment and primary key - bug #1908719 [interface] New field cannot be auto-increment and primary key

View File

@@ -437,6 +437,7 @@ $PMA_SQPdata_reserved_word = array (
'COMPRESSED', 'COMPRESSED',
'CONCURRENT', 'CONCURRENT',
'CONSTRAINT', 'CONSTRAINT',
'CONTAINS',
'CONVERT', 'CONVERT',
'CREATE', 'CREATE',
'CROSS', 'CROSS',
@@ -454,6 +455,7 @@ $PMA_SQPdata_reserved_word = array (
'DELETE', 'DELETE',
'DESC', 'DESC',
'DESCRIBE', 'DESCRIBE',
'DETERMINISTIC',
'DISTINCT', 'DISTINCT',
'DISTINCTROW', 'DISTINCTROW',
'DIV', 'DIV',
@@ -616,6 +618,7 @@ $PMA_SQPdata_reserved_word = array (
'ROWS', 'ROWS',
'ROW_FORMAT', 'ROW_FORMAT',
'SECOND', 'SECOND',
'SECURITY',
'SELECT', 'SELECT',
'SEPARATOR', 'SEPARATOR',
'SERIALIZABLE', 'SERIALIZABLE',
@@ -626,6 +629,7 @@ $PMA_SQPdata_reserved_word = array (
'SLAVE', 'SLAVE',
'SONAME', 'SONAME',
'SOUNDS', // string-functions.html 'SOUNDS', // string-functions.html
'SQL',
'SQL_AUTO_IS_NULL', 'SQL_AUTO_IS_NULL',
'SQL_BIG_RESULT', 'SQL_BIG_RESULT',
'SQL_BIG_SELECTS', 'SQL_BIG_SELECTS',
@@ -689,7 +693,7 @@ $PMA_SQPdata_reserved_word = array (
* *
* @global integer MySQL reserved words count * @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. * The previous array must be sorted so that the binary search work.
* Sometimes a word is not added in the correct order, so * Sometimes a word is not added in the correct order, so