Commit 4758f426 authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #2768 from roelvanduijnhoven/patch-1

Add all missing MariaDb keywords to MySQL
parents 0a17b498 5f94969d
......@@ -43,6 +43,7 @@ class MySQLKeywords extends KeywordList
protected function getKeywords()
{
return array(
'ACCESSIBLE',
'ADD',
'ALL',
'ALTER',
......@@ -118,6 +119,7 @@ class MySQLKeywords extends KeywordList
'FOREIGN',
'FROM',
'FULLTEXT',
'GENERAL',
'GOTO',
'GRANT',
'GROUP',
......@@ -128,6 +130,7 @@ class MySQLKeywords extends KeywordList
'HOUR_SECOND',
'IF',
'IGNORE',
'IGNORE_SERVER_IDS',
'IN',
'INDEX',
'INFILE',
......@@ -156,6 +159,7 @@ class MySQLKeywords extends KeywordList
'LEFT',
'LIKE',
'LIMIT',
'LINEAR',
'LINES',
'LOAD',
'LOCALTIME',
......@@ -166,7 +170,10 @@ class MySQLKeywords extends KeywordList
'LONGTEXT',
'LOOP',
'LOW_PRIORITY',
'MASTER_HEARTBEAT_PERIOD',
'MASTER_SSL_VERIFY_SERVER_CERT',
'MATCH',
'MAXVALUE',
'MEDIUMBLOB',
'MEDIUMINT',
'MEDIUMTEXT',
......@@ -176,8 +183,8 @@ class MySQLKeywords extends KeywordList
'MOD',
'MODIFIES',
'NATURAL',
'NOT',
'NO_WRITE_TO_BINLOG',
'NOT',
'NULL',
'NUMERIC',
'ON',
......@@ -189,6 +196,7 @@ class MySQLKeywords extends KeywordList
'OUT',
'OUTER',
'OUTFILE',
'PARTITION',
'PRECISION',
'PRIMARY',
'PROCEDURE',
......@@ -196,8 +204,10 @@ class MySQLKeywords extends KeywordList
'RAID0',
'RANGE',
'READ',
'READ_WRITE',
'READS',
'REAL',
'RECURSIVE',
'REFERENCES',
'REGEXP',
'RELEASE',
......@@ -205,11 +215,13 @@ class MySQLKeywords extends KeywordList
'REPEAT',
'REPLACE',
'REQUIRE',
'RESIGNAL',
'RESTRICT',
'RETURN',
'REVOKE',
'RIGHT',
'RLIKE',
'ROWS',
'SCHEMA',
'SCHEMAS',
'SECOND_MICROSECOND',
......@@ -218,17 +230,19 @@ class MySQLKeywords extends KeywordList
'SEPARATOR',
'SET',
'SHOW',
'SIGNAL',
'SLOW',
'SMALLINT',
'SONAME',
'SPATIAL',
'SPECIFIC',
'SQL',
'SQLEXCEPTION',
'SQLSTATE',
'SQLWARNING',
'SQL_BIG_RESULT',
'SQL_CALC_FOUND_ROWS',
'SQL_SMALL_RESULT',
'SQLEXCEPTION',
'SQLSTATE',
'SQLWARNING',
'SSL',
'STARTING',
'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