Commit 5f94969d authored by Roel van Duijnhoven's avatar Roel van Duijnhoven Committed by GitHub

Add all missing MariaDb keywords

As can be found in https://mariadb.com/kb/en/mariadb/reserved-words/.
parent 8906f736
...@@ -43,6 +43,7 @@ class MySQLKeywords extends KeywordList ...@@ -43,6 +43,7 @@ class MySQLKeywords extends KeywordList
protected function getKeywords() protected function getKeywords()
{ {
return array( return array(
'ACCESSIBLE',
'ADD', 'ADD',
'ALL', 'ALL',
'ALTER', 'ALTER',
...@@ -118,6 +119,7 @@ class MySQLKeywords extends KeywordList ...@@ -118,6 +119,7 @@ class MySQLKeywords extends KeywordList
'FOREIGN', 'FOREIGN',
'FROM', 'FROM',
'FULLTEXT', 'FULLTEXT',
'GENERAL',
'GOTO', 'GOTO',
'GRANT', 'GRANT',
'GROUP', 'GROUP',
...@@ -128,6 +130,7 @@ class MySQLKeywords extends KeywordList ...@@ -128,6 +130,7 @@ class MySQLKeywords extends KeywordList
'HOUR_SECOND', 'HOUR_SECOND',
'IF', 'IF',
'IGNORE', 'IGNORE',
'IGNORE_SERVER_IDS',
'IN', 'IN',
'INDEX', 'INDEX',
'INFILE', 'INFILE',
...@@ -156,6 +159,7 @@ class MySQLKeywords extends KeywordList ...@@ -156,6 +159,7 @@ class MySQLKeywords extends KeywordList
'LEFT', 'LEFT',
'LIKE', 'LIKE',
'LIMIT', 'LIMIT',
'LINEAR',
'LINES', 'LINES',
'LOAD', 'LOAD',
'LOCALTIME', 'LOCALTIME',
...@@ -166,7 +170,10 @@ class MySQLKeywords extends KeywordList ...@@ -166,7 +170,10 @@ class MySQLKeywords extends KeywordList
'LONGTEXT', 'LONGTEXT',
'LOOP', 'LOOP',
'LOW_PRIORITY', 'LOW_PRIORITY',
'MASTER_HEARTBEAT_PERIOD',
'MASTER_SSL_VERIFY_SERVER_CERT',
'MATCH', 'MATCH',
'MAXVALUE',
'MEDIUMBLOB', 'MEDIUMBLOB',
'MEDIUMINT', 'MEDIUMINT',
'MEDIUMTEXT', 'MEDIUMTEXT',
...@@ -176,8 +183,8 @@ class MySQLKeywords extends KeywordList ...@@ -176,8 +183,8 @@ class MySQLKeywords extends KeywordList
'MOD', 'MOD',
'MODIFIES', 'MODIFIES',
'NATURAL', 'NATURAL',
'NOT',
'NO_WRITE_TO_BINLOG', 'NO_WRITE_TO_BINLOG',
'NOT',
'NULL', 'NULL',
'NUMERIC', 'NUMERIC',
'ON', 'ON',
...@@ -189,6 +196,7 @@ class MySQLKeywords extends KeywordList ...@@ -189,6 +196,7 @@ class MySQLKeywords extends KeywordList
'OUT', 'OUT',
'OUTER', 'OUTER',
'OUTFILE', 'OUTFILE',
'PARTITION',
'PRECISION', 'PRECISION',
'PRIMARY', 'PRIMARY',
'PROCEDURE', 'PROCEDURE',
...@@ -196,8 +204,10 @@ class MySQLKeywords extends KeywordList ...@@ -196,8 +204,10 @@ class MySQLKeywords extends KeywordList
'RAID0', 'RAID0',
'RANGE', 'RANGE',
'READ', 'READ',
'READ_WRITE',
'READS', 'READS',
'REAL', 'REAL',
'RECURSIVE',
'REFERENCES', 'REFERENCES',
'REGEXP', 'REGEXP',
'RELEASE', 'RELEASE',
...@@ -205,11 +215,13 @@ class MySQLKeywords extends KeywordList ...@@ -205,11 +215,13 @@ class MySQLKeywords extends KeywordList
'REPEAT', 'REPEAT',
'REPLACE', 'REPLACE',
'REQUIRE', 'REQUIRE',
'RESIGNAL',
'RESTRICT', 'RESTRICT',
'RETURN', 'RETURN',
'REVOKE', 'REVOKE',
'RIGHT', 'RIGHT',
'RLIKE', 'RLIKE',
'ROWS',
'SCHEMA', 'SCHEMA',
'SCHEMAS', 'SCHEMAS',
'SECOND_MICROSECOND', 'SECOND_MICROSECOND',
...@@ -218,17 +230,19 @@ class MySQLKeywords extends KeywordList ...@@ -218,17 +230,19 @@ class MySQLKeywords extends KeywordList
'SEPARATOR', 'SEPARATOR',
'SET', 'SET',
'SHOW', 'SHOW',
'SIGNAL',
'SLOW',
'SMALLINT', 'SMALLINT',
'SONAME', 'SONAME',
'SPATIAL', 'SPATIAL',
'SPECIFIC', 'SPECIFIC',
'SQL', 'SQL',
'SQLEXCEPTION',
'SQLSTATE',
'SQLWARNING',
'SQL_BIG_RESULT', 'SQL_BIG_RESULT',
'SQL_CALC_FOUND_ROWS', 'SQL_CALC_FOUND_ROWS',
'SQL_SMALL_RESULT', 'SQL_SMALL_RESULT',
'SQLEXCEPTION',
'SQLSTATE',
'SQLWARNING',
'SSL', 'SSL',
'STARTING', 'STARTING',
'STRAIGHT_JOIN', 'STRAIGHT_JOIN',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment