aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMTextView.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMTextView.m')
-rw-r--r--Source/CMTextView.m135
1 files changed, 88 insertions, 47 deletions
diff --git a/Source/CMTextView.m b/Source/CMTextView.m
index b717c0b5..45d0421f 100644
--- a/Source/CMTextView.m
+++ b/Source/CMTextView.m
@@ -566,15 +566,19 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"ALGORITHM",
@"ALL",
@"ALTER",
- @"ALTER TABLE",
- @"ALTER VIEW",
- @"ALTER SCHEMA",
- @"ALTER SCHEMA",
- @"ALTER FUNCTION",
@"ALTER COLUMN",
@"ALTER DATABASE",
+ @"ALTER EVENT",
+ @"ALTER FUNCTION",
+ @"ALTER LOGFILE GROUP",
@"ALTER PROCEDURE",
+ @"ALTER SCHEMA",
+ @"ALTER SERVER",
+ @"ALTER TABLE",
+ @"ALTER TABLESPACE",
+ @"ALTER VIEW",
@"ANALYZE",
+ @"ANALYZE TABLE",
@"AND",
@"ANY",
@"AS",
@@ -588,6 +592,7 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"AVG",
@"AVG_ROW_LENGTH",
@"BACKUP",
+ @"BACKUP TABLE",
@"BEFORE",
@"BEGIN",
@"BETWEEN",
@@ -603,6 +608,7 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"BY",
@"BYTE",
@"CACHE",
+ @"CACHE INDEX",
@"CALL",
@"CASCADE",
@"CASCADED",
@@ -612,9 +618,12 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"CHANGED",
@"CHAR",
@"CHARACTER",
+ @"CHARACTER SET",
@"CHARSET",
@"CHECK",
+ @"CHECK TABLE",
@"CHECKSUM",
+ @"CHECKSUM TABLE",
@"CIPHER",
@"CLIENT",
@"CLOSE",
@@ -640,15 +649,18 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"CONTRIBUTORS",
@"CONVERT",
@"CREATE",
- @"CREATE VIEW",
- @"CREATE INDEX",
- @"CREATE FUNCTION",
@"CREATE DATABASE",
+ @"CREATE EVENT",
+ @"CREATE FUNCTION",
+ @"CREATE INDEX",
+ @"CREATE LOGFILE GROUP",
@"CREATE PROCEDURE",
@"CREATE SCHEMA",
- @"CREATE TRIGGER",
@"CREATE TABLE",
+ @"CREATE TABLESPACE",
+ @"CREATE TRIGGER",
@"CREATE USER",
+ @"CREATE VIEW",
@"CROSS",
@"CUBE",
@"CURRENT_DATE",
@@ -668,6 +680,7 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"DAY_MINUTE",
@"DAY_SECOND",
@"DEALLOCATE",
+ @"DEALLOCATE PREPARE",
@"DEC",
@"DECIMAL",
@"DECLARE",
@@ -690,18 +703,23 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"DO",
@"DOUBLE",
@"DROP",
- @"DROP TABLE",
- @"DROP TRIGGER",
- @"DROP VIEW",
- @"DROP SCHEMA",
- @"DROP USER",
- @"DROP PROCEDURE",
- @"DROP FUNCTION",
+ @"DROP DATABASE",
+ @"DROP EVENT",
@"DROP FOREIGN KEY",
+ @"DROP FUNCTION",
@"DROP INDEX",
+ @"DROP LOGFILE GROUP",
@"DROP PREPARE",
@"DROP PRIMARY KEY",
- @"DROP DATABASE",
+ @"DROP PREPARE",
+ @"DROP PROCEDURE",
+ @"DROP SCHEMA",
+ @"DROP SERVER",
+ @"DROP TABLE",
+ @"DROP TABLESPACE",
+ @"DROP TRIGGER",
+ @"DROP USER",
+ @"DROP VIEW",
@"DUAL",
@"DUMPFILE",
@"DUPLICATE",
@@ -742,8 +760,8 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"FLUSH",
@"FOR",
@"FORCE",
- @"FOREIGN",
@"FOREIGN KEY",
+ @"FOREIGN",
@"FOUND",
@"FRAC_SECOND",
@"FROM",
@@ -784,6 +802,7 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"INSERT",
@"INSERT_METHOD",
@"INSTALL",
+ @"INSTALL PLUGIN",
@"INT",
@"INT1",
@"INT2",
@@ -819,10 +838,12 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"LINESTRING",
@"LIST",
@"LOAD DATA",
+ @"LOAD INDEX INTO CACHE",
@"LOCAL",
@"LOCALTIME",
@"LOCALTIMESTAMP",
@"LOCK",
+ @"LOCK TABLES",
@"LOCKS",
@"LOGFILE",
@"LOGS",
@@ -901,8 +922,10 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"ONE_SHOT",
@"OPEN",
@"OPTIMIZE",
+ @"OPTIMIZE TABLE",
@"OPTION",
@"OPTIONALLY",
+ @"OPTIONS",
@"OR",
@"ORDER",
@"OUT",
@@ -953,15 +976,20 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"RELOAD",
@"REMOVE",
@"RENAME",
+ @"RENAME DATABASE",
+ @"RENAME TABLE",
@"REORGANIZE",
@"REPAIR",
+ @"REPAIR TABLE",
@"REPEAT",
@"REPEATABLE",
@"REPLACE",
@"REPLICATION",
@"REQUIRE",
@"RESET",
+ @"RESET MASTER",
@"RESTORE",
+ @"RESTORE TABLE",
@"RESTRICT",
@"RESUME",
@"RETURN",
@@ -991,47 +1019,57 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"SERIALIZABLE",
@"SESSION",
@"SET",
+ @"SET PASSWORD",
@"SHARE",
@"SHOW",
- @"SHOW PROCEDURE STATUS",
- @"SHOW PROCESSLIST",
- @"SHOW SCHEMAS",
- @"SHOW SLAVE HOSTS",
- @"SHOW PRIVILEGES",
- @"SHOW OPEN TABLES",
- @"SHOW MASTER STATUS",
- @"SHOW SLAVE STATUS",
- @"SHOW PLUGIN",
- @"SHOW STORAGE ENGINES",
- @"SHOW VARIABLES",
- @"SHOW WARNINGS",
- @"SHOW TRIGGERS",
- @"SHOW TABLES",
- @"SHOW MASTER LOGS",
- @"SHOW TABLE STATUS",
- @"SHOW TABLE TYPES",
- @"SHOW STATUS",
- @"SHOW INNODB STATUS",
+ @"SHOW BINARY LOGS",
+ @"SHOW BINLOG EVENTS",
+ @"SHOW CHARACTER SET",
+ @"SHOW COLLATION",
+ @"SHOW COLUMNS",
+ @"SHOW CONTRIBUTORS",
@"SHOW CREATE DATABASE",
+ @"SHOW CREATE EVENT",
@"SHOW CREATE FUNCTION",
@"SHOW CREATE PROCEDURE",
@"SHOW CREATE SCHEMA",
- @"SHOW COLUMNS",
- @"SHOW COLLATION",
- @"SHOW BINARY LOGS",
- @"SHOW BINLOG EVENTS",
- @"SHOW CHARACTER SET",
@"SHOW CREATE TABLE",
+ @"SHOW CREATE TRIGGERS",
@"SHOW CREATE VIEW",
- @"SHOW FUNCTION STATUS",
- @"SHOW GRANTS",
- @"SHOW INDEX",
- @"SHOW FIELDS",
- @"SHOW ERRORS",
@"SHOW DATABASES",
@"SHOW ENGINE",
@"SHOW ENGINES",
+ @"SHOW ERRORS",
+ @"SHOW EVENTS",
+ @"SHOW FIELDS",
+ @"SHOW FUNCTION CODE",
+ @"SHOW FUNCTION STATUS",
+ @"SHOW GRANTS",
+ @"SHOW INDEX",
+ @"SHOW INNODB STATUS",
@"SHOW KEYS",
+ @"SHOW MASTER LOGS",
+ @"SHOW MASTER STATUS",
+ @"SHOW OPEN TABLES",
+ @"SHOW PLUGINS",
+ @"SHOW PRIVILEGES",
+ @"SHOW PROCEDURE CODE",
+ @"SHOW PROCEDURE STATUS",
+ @"SHOW PROFILE",
+ @"SHOW PROFILES",
+ @"SHOW PROCESSLIST",
+ @"SHOW SCHEDULER STATUS",
+ @"SHOW SCHEMAS",
+ @"SHOW SLAVE HOSTS",
+ @"SHOW SLAVE STATUS",
+ @"SHOW STATUS",
+ @"SHOW STORAGE ENGINES",
+ @"SHOW TABLE STATUS",
+ @"SHOW TABLE TYPES",
+ @"SHOW TABLES",
+ @"SHOW TRIGGERS",
+ @"SHOW VARIABLES",
+ @"SHOW WARNINGS",
@"SHUTDOWN",
@"SIGNED",
@"SIMPLE",
@@ -1065,6 +1103,7 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"SQL_TSI_YEAR",
@"SSL",
@"START",
+ @"START TRANSACTION",
@"STARTING",
@"STARTS",
@"STATUS",
@@ -1109,10 +1148,12 @@ YY_BUFFER_STATE yy_scan_string (const char *);
@"UNDO_BUFFER_SIZE",
@"UNICODE",
@"UNINSTALL",
+ @"UNINSTALL PLUGIN",
@"UNION",
@"UNIQUE",
@"UNKNOWN",
@"UNLOCK",
+ @"UNLOCK TABLES",
@"UNSIGNED",
@"UNTIL",
@"UPDATE",