-
Notifications
You must be signed in to change notification settings - Fork 15
/
ocelotgui.h
8990 lines (8563 loc) · 395 KB
/
ocelotgui.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* Copyright (c) 2024 by Peter Gulutzan. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef OCELOTGUI_H
#define OCELOTGUI_H
/* If you tell CMakeLists.txt -DOCELOT_MYSQL_INCLUDE=0, you can't access MySQL/MariaDB. Of course default is 1 and recommended. */
#ifndef OCELOT_MYSQL_INCLUDE
#define OCELOT_MYSQL_INCLUDE 1
#endif
/* if you don't tell CMakeLists.txt -DOCELOT_QWT_INCLUDE=1, you can't access qwt. In this case default is 0. */
/* Bringing in the Qwt library was an experiment, it worked, but it isn't necessary so 0 is recommended. */
#ifndef OCELOT_QWT_INCLUDE
#define OCELOT_QWT_INCLUDE 0
#endif
/* Chart and QChart don't coexist. */
#if (OCELOT_QWT_INCLUDE == 1)
#define OCELOT_CHART 0
#endif
#define OCELOT_CHART_OR_QCHART (OCELOT_CHART | OCELOT_QWT_INCLUDE)
/* The debugger is integrated now, but "if (OCELOT_MYSQL_DEBUGGER = 1)" directives help to delineate code that is debugger-specific. */
#ifndef OCELOT_MYSQL_DEBUGGER
#define OCELOT_MYSQL_DEBUGGER OCELOT_MYSQL_INCLUDE
#endif
/* To remove most of the code related to Edit|Find feature if you don't need it, set OCELOT_FIND_WIDGET 0 */
#ifndef OCELOT_FIND_WIDGET
#define OCELOT_FIND_WIDGET 1
#endif
/* To remove most of the code related to SET ocelot_import|ocelot_export, set OCELOT_IMPORT_EXPORT 0 */
#ifndef OCELOT_IMPORT_EXPORT
#define OCELOT_IMPORT_EXPORT 1
#endif
/* To remove most of the code related to object explorer, #define OCELOT_EXPLORER 0 */
#ifndef OCELOT_EXPLORER
#define OCELOT_EXPLORER 1
#endif
/* To remove most of the code related to erdiagram, #define OCELOT_ERDIAGRAM 0 */
#ifndef OCELOT_ERDIAGRAM
#define OCELOT_ERDIAGRAM 1
#endif
/* To remove most of the code related to chart, #define OCELOT_CHART 0 */
#ifndef OCELOT_CHART
#define OCELOT_CHART 1
#define OCELOT_CHART_EVENTFILTER 0 /* for some diagnostics. normally 0. */
#endif
/* To remove most of the code related to extender, #define OCELOT_EXTENDER 0 */
#ifndef OCELOT_EXTENDER
#if (OCELOT_MYSQL_INCLUDE == 1)
#define OCELOT_EXTENDER 1
#else
#define OCELOT_EXTENDER 0
#endif
#endif
/* To remove most of the code related to plugin, #define OCELOT_PLUGIN 0 */
#ifndef OCELOT_PLUGIN
#define OCELOT_PLUGIN 1
#endif
/* To remove the way that dialogs are handled in ocelotgui 2.5, #define OCELOT_DIALOG 0 */
#ifndef OCELOT_DIALOG
#define OCELOT_DIALOG 1
#endif
#if (OCELOT_MYSQL_INCLUDE == 0)
typedef struct
{
int not_really_mysql_res;
} MYSQL_RES;
#endif //#if (OCELOT_MYSQL_INCLUDE == 0)
/*
Predefined OS macro
I depend on https://sourceforge.net/p/predef/wiki/OperatingSystems/
Also useful are Q_OS_... declarations in http://doc.qt.io/qt-5/qtglobal.html
but they're not known until we do Qt includes, later.
(So far, only ostrings.h has been #included.)
See also ./CMakeFiles/2.8.12.2/CompilerIdCXX/CMakeCXXCompilerId.cpp
which checks for __CYGWIN__ and __MINGW32__.
OCELOT_OS_LINUX is for Linux-specific code, actually tested on Linux
OCELOT_OS_NONLINUX is for Qt-specific code, seems to work on Windows
The idea is that, if we support more platforms, we'll add more
e.g. OCELOT_OS_OPENBSD.
With OCELOT_OS_FREEBSD we can build but haven't checked all the places
where we check if it's nonlinux (which is also true if FreeBSD is true),
so runtime failures are likely. Update: some fixes were tried on 2024-06-09.
"__linux" and "linux" are obsolete, someday we'll stop looking for them
Todo: we also check Q_OS_LINUX or Q_OS_FREEBSD Qt macros. Stop doing so?
*/
#if defined(__linux__) || defined(__linux) || defined(linux)
#define OCELOT_OS_LINUX
#else
#define OCELOT_OS_NONLINUX
#endif
#if defined(__FreeBSD__)
#define OCELOT_OS_FREEBSD
#endif
/* See comments before action_options_detach_history_widget */
#if defined(OCELOT_OS_LINUX) || defined(OCELOT_OS_FREEBSD)
#define IS_WAYLAND_POSSIBLE 1
#else
#define IS_WAYLAND_POSSIBLE 0
#endif
/*
The possible DBMS values.
These are related to ocelot_dbms values.
--ocelot_dbms='mysql' is default. (unless cmake . -DDEFAULT_OPTION=something else)
--ocelot_dbms='mariadb' is non-default but officially supported.
--ocelot_dbms='tarantool' is non-default but should work.
If we start as MySQL but then connect to MariaDB, or vice versa,
it's okay because we change to what we connected to.
If --ocelot_dbms='tarantool', connection must be to a Tarantool server.
Before defining for a new version, check set_dbms_version_mask().
In set_dbms_version_mask we set for the version and for lower versions,
e.g. if it's MySQL 5.6 we set both FLAG_VERSION_MYSQL_5_5 and
FLAG_VERSION_MYSQL_5_6.
Note: We often define the same number for different versions, for example for MySQL 5.5 and MySQL 5.6 it's 1,
but if it's really necessary to distinguish versions we can use separate numbers, we have 32 bits.
Note: MySQL 5.5 reached end-of-life in 2018, says https://endoflife.software/applications/databases/mysql
so starting with ocelotgui 1.8 we treat it as the same as MySQL 5.6.
Note: MariaDB 5.5 reached end-of-life in 2018, says https://endoflife.date/mariadb
so starting with ocelotgui 1.8 we treat it as the same as MariaDB 10.0
Note: We have a separate flag names for MariaDB 10.7 and 10.9 but the number is the same as for MariaDB 10.10
Note: Tarantool 2.x + Tarantool 2.8 + Tarantool 2.9 all set FLAG_VERSION_TARANTOOL_2_7, we don't distinguish.
Note: Tarantool 2.10 + Tarantool 2.11 all set FLAG_VERSION_TARANTOOL_2_10, we don't distinguish.
Note: FLAG_VERSION_TARANTOOL_3_0 is currently the same as FLAG_VERSION_TARANTOOL_2_11 since our behaviour is the same.
Note: Tarantool 3. any kind sets VERSION_TARANTOOL_3_0, we don't distinguish.
*/
#define DBMS_MYSQL 1
#define DBMS_MARIADB 2
#define DBMS_TARANTOOL 3
#define FLAG_VERSION_MYSQL_5_5 1
#define FLAG_VERSION_MYSQL_5_6 1
#define FLAG_VERSION_MYSQL_5_7 2
#define FLAG_VERSION_MYSQL_8_0 4
#define FLAG_VERSION_MYSQL_8_0_31 8
#define FLAG_VERSION_MYSQL_8_1 8
#define FLAG_VERSION_MYSQL_8_2 8
#define FLAG_VERSION_MYSQL_8_3 8
#define FLAG_VERSION_MYSQL_8_4 8
#define FLAG_VERSION_MYSQL_9_0 8
#define FLAG_VERSION_MYSQL_ALL (FLAG_VERSION_MYSQL_5_5 | FLAG_VERSION_MYSQL_5_6 | FLAG_VERSION_MYSQL_5_7 | FLAG_VERSION_MYSQL_8_0 | FLAG_VERSION_MYSQL_8_0_31| FLAG_VERSION_MYSQL_8_1| FLAG_VERSION_MYSQL_8_2| FLAG_VERSION_MYSQL_8_3| FLAG_VERSION_MYSQL_8_4| FLAG_VERSION_MYSQL_9_0)
#define FLAG_VERSION_MARIADB_5_5 16
#define FLAG_VERSION_MARIADB_10_0 16
#define FLAG_VERSION_MARIADB_10_1 32
#define FLAG_VERSION_MARIADB_10_2_2 64
#define FLAG_VERSION_MARIADB_10_2_3 128
#define FLAG_VERSION_MARIADB_10_3 256
#define FLAG_VERSION_MARIADB_10_7 512
#define FLAG_VERSION_MARIADB_10_9 512
#define FLAG_VERSION_MARIADB_10_10 512
#define FLAG_VERSION_MARIADB_10_11 512
#define FLAG_VERSION_MARIADB_10_ALL (FLAG_VERSION_MARIADB_10_0 | FLAG_VERSION_MARIADB_10_1 | FLAG_VERSION_MARIADB_10_2_2 | FLAG_VERSION_MARIADB_10_2_3 | FLAG_VERSION_MARIADB_10_3 | FLAG_VERSION_MARIADB_10_7 | FLAG_VERSION_MARIADB_10_9 | FLAG_VERSION_MARIADB_10_10 | FLAG_VERSION_MARIADB_10_11)
#define FLAG_VERSION_MARIADB_11_0 512
#define FLAG_VERSION_MARIADB_11_1 512
#define FLAG_VERSION_MARIADB_11_2 512
#define FLAG_VERSION_MARIADB_11_4 512
#define FLAG_VERSION_MARIADB_11_5 512
#define FLAG_VERSION_MARIADB_11_6 512
#define FLAG_VERSION_MARIADB_11_ALL (FLAG_VERSION_MARIADB_11_0 | FLAG_VERSION_MARIADB_11_1 | FLAG_VERSION_MARIADB_11_2| FLAG_VERSION_MARIADB_11_4| FLAG_VERSION_MARIADB_11_5| FLAG_VERSION_MARIADB_11_6)
#define FLAG_VERSION_MARIADB_ALL (FLAG_VERSION_MARIADB_5_5 | FLAG_VERSION_MARIADB_10_ALL | FLAG_VERSION_MARIADB_11_ALL)
#define FLAG_VERSION_MYSQL_OR_MARIADB_ALL (FLAG_VERSION_MYSQL_ALL | FLAG_VERSION_MARIADB_ALL)
#define FLAG_VERSION_TARANTOOL 1024
#define FLAG_VERSION_LUA 2048
#define FLAG_VERSION_PLSQL 4096
#define FLAG_VERSION_SET_OPTION 8192
#define FLAG_VERSION_CONNECT_OPTION 16384
#define FLAG_VERSION_OPTION (FLAG_VERSION_SET_OPTION | FLAG_VERSION_CONNECT_OPTION)
#define FLAG_VERSION_TARANTOOL_2_2 32768
#define FLAG_VERSION_TARANTOOL_2_3 65536
#define FLAG_VERSION_LUA_OUTPUT 131072
#define FLAG_VERSION_TARANTOOL_2_4 262144
#define FLAG_VERSION_TARANTOOL_2_7 262144
#define FLAG_VERSION_TARANTOOL_2_10 1048576
#define FLAG_VERSION_TARANTOOL_2_11 2097152
#define FLAG_VERSION_TARANTOOL_3_0 FLAG_VERSION_TARANTOOL_2_11
#define FLAG_VERSION_TARANTOOL_ALL (FLAG_VERSION_TARANTOOL | FLAG_VERSION_TARANTOOL_2_2 | FLAG_VERSION_TARANTOOL_2_3 | FLAG_VERSION_TARANTOOL_2_4 | FLAG_VERSION_TARANTOOL_2_7 | FLAG_VERSION_TARANTOOL_2_10 | FLAG_VERSION_TARANTOOL_2_11 | FLAG_VERSION_TARANTOOL_3_0)
#define FLAG_VERSION_ALL (FLAG_VERSION_MYSQL_ALL | FLAG_VERSION_MARIADB_ALL | FLAG_VERSION_TARANTOOL_ALL)
#define FLAG_VERSION_ALL_OR_LUA (FLAG_VERSION_ALL | FLAG_VERSION_LUA)
#define FLAG_VERSION_DEFAULT (FLAG_VERSION_MYSQL_OR_MARIADB_ALL)
#define FLAG_VERSION_CONDITIONAL 524288
/* Note: If adding support for a new version of any server, check set_dbms_version_mask(). */
/*
Tarantool datetime support will only matter if Tarantool version >= 2.10 and datetimes are actually in use.
If checking for datetime is unnecessary, change this line to #define TARANTOOL_DATETIMES 0" to save space.
*/
#ifdef DBMS_TARANTOOL
#define TARANTOOL_DATETIMES 1
#else
#define FLAG_VERSION_DATETIMES 0
#endif
#include <assert.h>
#include <stdint.h>
/*
Decide whether to use static-linked library for use with MySQL/MariaDB.
Builders can say cmake . -DOCELOT_STATIC_LIBRARY=1 to use.
They will have to deliberately add an appropriate library when they
build, probably libmariadb.a.
Otherwise OCELOT_STATIC_LIBRARY=0 on Linux|FreeBSD, OCELOT_STATIC_LIBRARY=1 on Windows.
*/
#ifndef OCELOT_STATIC_LIBRARY
#ifdef OCELOT_OS_LINUX
#define OCELOT_STATIC_LIBRARY 0
#endif
#ifdef OCELOT_OS_FREEBSD
#define OCELOT_STATIC_LIBRARY 0
#endif
#ifndef OCELOT_STATIC_LIBRARY
#define OCELOT_STATIC_LIBRARY 1
#endif
#endif
/*
Decide whether to #include third_party.h for use with Tarantool.
Mostly third_party.h has tarantool-c source modified for Windows.
By default it is included for both Windows and Linux starting with ocelotgui 1.0.7.
To say it is not included, either build with cmake . -DOCELOT_THIRD_PARTY=0
or change the lines below to say "#define OCELOT_THIRD_PARTY 0".
If it is not included, then:
(if you only connect to MariaDB / MySQL) it doesn't matter, we never use it
(if you start with --ocelot_dbms=tarantool) ocelotgui will load libtarantool.so.
On Windows there is no libtarantool.so.
On Linux libtarantool.so is easily acquired by installing and building from
tarantool-c, and actually it's probably better to use libtarantool.so because
it may contain bug fixes or enhancements, so it's actually good on Linux to not include third_party.h.
We only include it on Linux so that the code base on Linux and Windows will be the same.
Todo: I've never tried to find libtarantool.so on FreeBSD.
*/
#ifndef OCELOT_THIRD_PARTY
#ifdef OCELOT_OS_LINUX
#define OCELOT_THIRD_PARTY 1
#endif
#ifdef OCELOT_OS_NONLINUX
#ifdef OCELOT_OS_FREEBSD
#define OCELOT_THIRD_PARTY 1
#else
#define OCELOT_THIRD_PARTY 1
#endif
#endif
#endif
/*
When building Qt + libmariadb.a on Windows we have to exclude mysql_server_end + mysql_library_end + mysql_get_client_info.
We don't have Q_OS_WIN32 yet but this should establish we're calling from MinGW-64 with 32-bit.
If we can't call mysql_get-client_info then we don't really know Connector/C version number so we'll assume 3.3.8.
#I've seen a claim that this is unnecessary and I can use .lib as long as it's 32-bit, but I didn't try that.
#Read https://stackoverflow.com/questions/11793370/how-can-i-convert-a-vsts-lib-to-a-mingw-a
#Read "generating an import library for a dll"
#Read https://code.google.com/archive/p/lib2a/
#Read Ocelot's README.
*/
#define MINGW_MARIADB 0
#ifdef _WIN32
#if (OCELOT_STATIC_LIBRARY == 1)
#undef MINGW_MARIADB
#define MINGW_MARIADB 1
#endif
#endif
enum { /* possible returns from token_type() */
TOKEN_TYPE_LITERAL_WITH_SINGLE_QUOTE= 1, /* starts with ' or N' or X' or B' */
TOKEN_TYPE_LITERAL_WITH_DOUBLE_QUOTE= 2, /* starts with " */
TOKEN_TYPE_LITERAL_WITH_DIGIT= 3, /* starts with 0-9 */
TOKEN_TYPE_LITERAL_WITH_BRACKET= 4, /* starts with [[, Lua only */
TOKEN_TYPE_LITERAL_WITH_BRACE= 5, /* starts with { */ /* obsolete? */
TOKEN_TYPE_LITERAL= 5,
TOKEN_TYPE_IDENTIFIER_WITH_BACKTICK= 6, /* starts with ` */
TOKEN_TYPE_IDENTIFIER_WITH_DOUBLE_QUOTE= 7, /* starts with " and hparse_ansi_quote=true */
TOKEN_TYPE_IDENTIFIER_WITH_AT= 8, /* starts with @ */
TOKEN_TYPE_IDENTIFIER= 8,
TOKEN_TYPE_COMMENT_WITH_SLASH = 9, /* starts with / * or * / */
TOKEN_TYPE_COMMENT_WITH_OCTOTHORPE= 10, /* starts with # */
TOKEN_TYPE_COMMENT_WITH_MINUS= 11, /* starts with -- */
TOKEN_TYPE_OPERATOR= 12, /* starts with < > = ! etc. */
TOKEN_TYPE_OTHER= 13, /* identifier? keyword? */
/* The TOKEN_KEYWORD_... numbers must match the strvalues list for tokens_to_keywords(). */
TOKEN_KEYWORDS_START= TOKEN_TYPE_OTHER + 1,
TOKEN_KEYWORD_QUESTIONMARK= TOKEN_KEYWORDS_START, /* ocelotgui keyword */
TOKEN_KEYWORD_ABORT,
TOKEN_KEYWORD_ABORT_SOURCE_ON_ERROR,
TOKEN_KEYWORD_ABS,
TOKEN_KEYWORD_ACCESSIBLE,
TOKEN_KEYWORD_ACOS,
TOKEN_KEYWORD_ACTION,
TOKEN_KEYWORD_ADD,
TOKEN_KEYWORD_ADDDATE,
TOKEN_KEYWORD_ADDTIME,
TOKEN_KEYWORD_AES_DECRYPT,
TOKEN_KEYWORD_AES_ENCRYPT,
TOKEN_KEYWORD_AFTER,
TOKEN_KEYWORD_AGAINST,
TOKEN_KEYWORD_ALGORITHM,
TOKEN_KEYWORD_ALL,
TOKEN_KEYWORD_ALTER,
TOKEN_KEYWORD_ALWAYS,
TOKEN_KEYWORD_ANALYZE,
TOKEN_KEYWORD_AND,
TOKEN_KEYWORD_ANY,
TOKEN_KEYWORD_ANY_VALUE,
TOKEN_KEYWORD_APPEND, /* no longer used */
TOKEN_KEYWORD_AREA,
TOKEN_KEYWORD_ARRAY,
TOKEN_KEYWORD_AS,
TOKEN_KEYWORD_ASBINARY,
TOKEN_KEYWORD_ASC,
TOKEN_KEYWORD_ASCII,
TOKEN_KEYWORD_ASENSITIVE,
TOKEN_KEYWORD_ASIN,
TOKEN_KEYWORD_ASTEXT,
TOKEN_KEYWORD_ASWKB,
TOKEN_KEYWORD_ASWKT,
TOKEN_KEYWORD_ASYMMETRIC_DECRYPT,
TOKEN_KEYWORD_ASYMMETRIC_DERIVE,
TOKEN_KEYWORD_ASYMMETRIC_ENCRYPT,
TOKEN_KEYWORD_ASYMMETRIC_SIGN,
TOKEN_KEYWORD_ASYMMETRIC_VERIFY,
TOKEN_KEYWORD_ATAN,
TOKEN_KEYWORD_ATAN2,
TOKEN_KEYWORD_ATOMIC,
TOKEN_KEYWORD_ATTACH,
TOKEN_KEYWORD_ATTRIBUTE,
TOKEN_KEYWORD_AUTOINCREMENT,
TOKEN_KEYWORD_AUTO_REHASH,
TOKEN_KEYWORD_AUTO_VERTICAL_OUTPUT,
TOKEN_KEYWORD_AVG,
TOKEN_KEYWORD_BACKGROUND,
TOKEN_KEYWORD_BACKUP_ADMIN,
TOKEN_KEYWORD_BAR,
TOKEN_KEYWORD_BATCH,
TOKEN_KEYWORD_BECOMES,
TOKEN_KEYWORD_BEFORE,
TOKEN_KEYWORD_BEGIN,
TOKEN_KEYWORD_BENCHMARK,
TOKEN_KEYWORD_BETWEEN,
TOKEN_KEYWORD_BFILE,
TOKEN_KEYWORD_BIGINT,
TOKEN_KEYWORD_BIN,
TOKEN_KEYWORD_BINARY,
TOKEN_KEYWORD_BINARY_DOUBLE,
TOKEN_KEYWORD_BINARY_FLOAT,
TOKEN_KEYWORD_BINARY_MODE,
TOKEN_KEYWORD_BIND,
TOKEN_KEYWORD_BIND_ADDRESS,
TOKEN_KEYWORD_BINLOG,
TOKEN_KEYWORD_BINLOG_ADMIN,
TOKEN_KEYWORD_BINLOG_GTID_POS,
TOKEN_KEYWORD_BIT,
TOKEN_KEYWORD_BIT_AND,
TOKEN_KEYWORD_BIT_COUNT,
TOKEN_KEYWORD_BIT_LENGTH,
TOKEN_KEYWORD_BIT_OR,
TOKEN_KEYWORD_BIT_XOR,
TOKEN_KEYWORD_BLOB,
TOKEN_KEYWORD_BODY,
TOKEN_KEYWORD_BOOL,
TOKEN_KEYWORD_BOOLEAN,
TOKEN_KEYWORD_BOTH,
TOKEN_KEYWORD_BREAK,
TOKEN_KEYWORD_BUFFER,
TOKEN_KEYWORD_BUSY_TIMEOUT,
TOKEN_KEYWORD_BY,
TOKEN_KEYWORD_CALL,
TOKEN_KEYWORD_CASCADE,
TOKEN_KEYWORD_CASE,
TOKEN_KEYWORD_CAST,
TOKEN_KEYWORD_CEIL,
TOKEN_KEYWORD_CEILING,
TOKEN_KEYWORD_CENTROID,
TOKEN_KEYWORD_CHANGE,
TOKEN_KEYWORD_CHAR,
TOKEN_KEYWORD_CHARACTER,
TOKEN_KEYWORD_CHARACTER_LENGTH,
TOKEN_KEYWORD_CHARACTER_SETS_DIR,
TOKEN_KEYWORD_CHARSET,
TOKEN_KEYWORD_CHART,
TOKEN_KEYWORD_CHAR_LENGTH,
TOKEN_KEYWORD_CHECK,
TOKEN_KEYWORD_CLEAR,
TOKEN_KEYWORD_CLOB,
TOKEN_KEYWORD_CLOSE,
TOKEN_KEYWORD_COALESCE,
TOKEN_KEYWORD_COERCIBILITY,
TOKEN_KEYWORD_COLLATE,
TOKEN_KEYWORD_COLLATION,
TOKEN_KEYWORD_COLLATION_LIST,
TOKEN_KEYWORD_COLUMN,
TOKEN_KEYWORD_COLUMNS,
TOKEN_KEYWORD_COLUMN_ADD,
TOKEN_KEYWORD_COLUMN_CHECK,
TOKEN_KEYWORD_COLUMN_CREATE,
TOKEN_KEYWORD_COLUMN_DELETE,
TOKEN_KEYWORD_COLUMN_EXISTS,
TOKEN_KEYWORD_COLUMN_GET,
TOKEN_KEYWORD_COLUMN_JSON,
TOKEN_KEYWORD_COLUMN_LIST,
TOKEN_KEYWORD_COLUMN_NAME,
TOKEN_KEYWORD_COLUMN_NAMES,
TOKEN_KEYWORD_COLUMN_NUMBER,
TOKEN_KEYWORD_COLUMN_TYPE,
TOKEN_KEYWORD_COLUMN_TYPE_INFO,
TOKEN_KEYWORD_COMMA,
TOKEN_KEYWORD_COMMENT,
TOKEN_KEYWORD_COMMENTS,
TOKEN_KEYWORD_COMMIT,
TOKEN_KEYWORD_COMPACT,
TOKEN_KEYWORD_COMPRESS,
TOKEN_KEYWORD_COMPRESSED,
TOKEN_KEYWORD_COMPRESSION,
TOKEN_KEYWORD_CONCAT,
TOKEN_KEYWORD_CONCAT_WS,
TOKEN_KEYWORD_CONDITION,
TOKEN_KEYWORD_CONFLICT,
TOKEN_KEYWORD_CONNECT,
TOKEN_KEYWORD_CONNECTION_ADMIN,
TOKEN_KEYWORD_CONNECTION_ID,
TOKEN_KEYWORD_CONNECT_ATTR_DELETE,
TOKEN_KEYWORD_CONNECT_ATTR_RESET,
TOKEN_KEYWORD_CONNECT_EXPIRED_PASSWORD,
TOKEN_KEYWORD_CONNECT_TIMEOUT,
TOKEN_KEYWORD_CONSTRAINT,
TOKEN_KEYWORD_CONTAINS,
TOKEN_KEYWORD_CONTINUE,
TOKEN_KEYWORD_CONV,
TOKEN_KEYWORD_CONVERT,
TOKEN_KEYWORD_CONVERT_TZ,
TOKEN_KEYWORD_CONVEXHULL,
TOKEN_KEYWORD_COS,
TOKEN_KEYWORD_COT,
TOKEN_KEYWORD_COUNT,
TOKEN_KEYWORD_CRC32,
TOKEN_KEYWORD_CREATE,
TOKEN_KEYWORD_CREATE_ASYMMETRIC_PRIV_KEY,
TOKEN_KEYWORD_CREATE_ASYMMETRIC_PUB_KEY,
TOKEN_KEYWORD_CREATE_DH_PARAMETERS,
TOKEN_KEYWORD_CREATE_DIGEST,
TOKEN_KEYWORD_CROSS,
TOKEN_KEYWORD_CROSSES,
TOKEN_KEYWORD_CUBE,
TOKEN_KEYWORD_CUME_DIST,
TOKEN_KEYWORD_CURDATE,
TOKEN_KEYWORD_CURRENT,
TOKEN_KEYWORD_CURRENT_DATE,
TOKEN_KEYWORD_CURRENT_ROLE,
TOKEN_KEYWORD_CURRENT_TIME,
TOKEN_KEYWORD_CURRENT_TIMESTAMP,
TOKEN_KEYWORD_CURRENT_USER,
TOKEN_KEYWORD_CURSOR,
TOKEN_KEYWORD_CURTIME,
TOKEN_KEYWORD_CYCLE,
TOKEN_KEYWORD_DATABASE,
TOKEN_KEYWORD_DATABASES,
TOKEN_KEYWORD_DATE,
TOKEN_KEYWORD_DATEDIFF,
TOKEN_KEYWORD_DATETIME,
TOKEN_KEYWORD_DATE_ADD,
TOKEN_KEYWORD_DATE_FORMAT,
TOKEN_KEYWORD_DATE_SUB,
TOKEN_KEYWORD_DAY,
TOKEN_KEYWORD_DAYNAME,
TOKEN_KEYWORD_DAYOFMONTH,
TOKEN_KEYWORD_DAYOFWEEK,
TOKEN_KEYWORD_DAYOFYEAR,
TOKEN_KEYWORD_DAY_HOUR,
TOKEN_KEYWORD_DAY_MICROSECOND,
TOKEN_KEYWORD_DAY_MINUTE,
TOKEN_KEYWORD_DAY_SECOND,
TOKEN_KEYWORD_DEALLOCATE,
TOKEN_KEYWORD_DEBUG,
TOKEN_KEYWORD_DEBUG_CHECK,
TOKEN_KEYWORD_DEBUG_INFO,
TOKEN_KEYWORD_DEC,
TOKEN_KEYWORD_DECIMAL,
TOKEN_KEYWORD_DECLARE,
TOKEN_KEYWORD_DECODE,
TOKEN_KEYWORD_DECODE_HISTOGRAM,
TOKEN_KEYWORD_DEFAULT,
TOKEN_KEYWORD_DEFAULTS_EXTRA_FILE,
TOKEN_KEYWORD_DEFAULTS_FILE,
TOKEN_KEYWORD_DEFAULTS_GROUP_SUFFIX,
TOKEN_KEYWORD_DEFAULT_AUTH,
TOKEN_KEYWORD_DEFAULT_CHARACTER_SET,
TOKEN_KEYWORD_DEFERRABLE,
TOKEN_KEYWORD_DEFERRED,
TOKEN_KEYWORD_DEGREES,
TOKEN_KEYWORD_DELAYED,
TOKEN_KEYWORD_DELETE,
TOKEN_KEYWORD_DELIMITER,
TOKEN_KEYWORD_DENSE_RANK,
TOKEN_KEYWORD_DESC,
TOKEN_KEYWORD_DESCRIBE,
TOKEN_KEYWORD_DES_DECRYPT,
TOKEN_KEYWORD_DES_ENCRYPT,
TOKEN_KEYWORD_DETACH,
TOKEN_KEYWORD_DETERMINISTIC,
TOKEN_KEYWORD_DIMENSION,
TOKEN_KEYWORD_DIRECTORY,
TOKEN_KEYWORD_DISJOINT,
TOKEN_KEYWORD_DISTANCE,
TOKEN_KEYWORD_DISTINCT,
TOKEN_KEYWORD_DISTINCTROW,
TOKEN_KEYWORD_DIV,
TOKEN_KEYWORD_DIVIDER,
TOKEN_KEYWORD_DO,
TOKEN_KEYWORD_DOUBLE,
TOKEN_KEYWORD_DROP,
TOKEN_KEYWORD_DUAL,
TOKEN_KEYWORD_DUPLICATE,
TOKEN_KEYWORD_DYNAMIC,
TOKEN_KEYWORD_EACH,
TOKEN_KEYWORD_EDIT,
TOKEN_KEYWORD_EGO,
TOKEN_KEYWORD_ELSE,
TOKEN_KEYWORD_ELSEIF,
TOKEN_KEYWORD_ELSIF,
TOKEN_KEYWORD_ELT,
TOKEN_KEYWORD_EMPTY,
TOKEN_KEYWORD_ENABLE,
TOKEN_KEYWORD_ENABLE_CLEARTEXT_PLUGIN,
TOKEN_KEYWORD_ENCLOSED,
TOKEN_KEYWORD_ENCODE,
TOKEN_KEYWORD_ENCRYPT,
TOKEN_KEYWORD_ENCRYPTION_KEY_ADMIN,
TOKEN_KEYWORD_END,
TOKEN_KEYWORD_ENDPOINT,
TOKEN_KEYWORD_ENGINE,
TOKEN_KEYWORD_ENUM,
TOKEN_KEYWORD_ENVELOPE,
TOKEN_KEYWORD_EQUALS,
TOKEN_KEYWORD_ERDIAGRAM, /* we used to have TOKEN_KEYWORD_ERROR here but no longer use it */
TOKEN_KEYWORD_ESCAPE,
TOKEN_KEYWORD_ESCAPED,
TOKEN_KEYWORD_EVENT,
TOKEN_KEYWORD_EXAMINED,
TOKEN_KEYWORD_EXCEPT,
TOKEN_KEYWORD_EXCEPTION,
TOKEN_KEYWORD_EXCHANGE,
TOKEN_KEYWORD_EXCLUSIVE,
TOKEN_KEYWORD_EXECUTE,
TOKEN_KEYWORD_EXISTS,
TOKEN_KEYWORD_EXIT,
TOKEN_KEYWORD_EXP,
TOKEN_KEYWORD_EXPANSION,
TOKEN_KEYWORD_EXPLAIN,
TOKEN_KEYWORD_EXPORT,
TOKEN_KEYWORD_EXPORT_SET,
TOKEN_KEYWORD_EXTERIORRING,
TOKEN_KEYWORD_EXTRACT,
TOKEN_KEYWORD_EXTRACTVALUE,
TOKEN_KEYWORD_FAIL,
TOKEN_KEYWORD_FALSE,
TOKEN_KEYWORD_FETCH,
TOKEN_KEYWORD_FIELD,
TOKEN_KEYWORD_FIELDS,
TOKEN_KEYWORD_FILE,
TOKEN_KEYWORD_FIND_IN_SET,
TOKEN_KEYWORD_FIREWALL_ADMIN,
TOKEN_KEYWORD_FIREWALL_USER,
TOKEN_KEYWORD_FIRST,
TOKEN_KEYWORD_FIRST_VALUE,
TOKEN_KEYWORD_FIXED,
TOKEN_KEYWORD_FLOAT,
TOKEN_KEYWORD_FLOAT4,
TOKEN_KEYWORD_FLOAT8,
TOKEN_KEYWORD_FLOOR,
TOKEN_KEYWORD_FLUSH,
TOKEN_KEYWORD_FOLLOWING,
TOKEN_KEYWORD_FOLLOWS,
TOKEN_KEYWORD_FOR,
TOKEN_KEYWORD_FORCE,
TOKEN_KEYWORD_FOREIGN,
TOKEN_KEYWORD_FOREIGN_KEY_LIST,
TOKEN_KEYWORD_FORMAT,
TOKEN_KEYWORD_FOUND,
TOKEN_KEYWORD_FOUND_ROWS,
TOKEN_KEYWORD_FROM,
TOKEN_KEYWORD_FROM_BASE64,
TOKEN_KEYWORD_FROM_DAYS,
TOKEN_KEYWORD_FROM_UNIXTIME,
TOKEN_KEYWORD_FULL,
TOKEN_KEYWORD_FULLTEXT,
TOKEN_KEYWORD_FUNCTION,
TOKEN_KEYWORD_GENERAL,
TOKEN_KEYWORD_GENERATED,
TOKEN_KEYWORD_GEOMCOLLFROMTEXT,
TOKEN_KEYWORD_GEOMCOLLFROMWKB,
TOKEN_KEYWORD_GEOMETRY,
TOKEN_KEYWORD_GEOMETRYCOLLECTION,
TOKEN_KEYWORD_GEOMETRYCOLLECTIONFROMTEXT,
TOKEN_KEYWORD_GEOMETRYCOLLECTIONFROMWKB,
TOKEN_KEYWORD_GEOMETRYFROMTEXT,
TOKEN_KEYWORD_GEOMETRYFROMWKB,
TOKEN_KEYWORD_GEOMETRYN,
TOKEN_KEYWORD_GEOMETRYTYPE,
TOKEN_KEYWORD_GEOMFROMTEXT,
TOKEN_KEYWORD_GEOMFROMWKB,
TOKEN_KEYWORD_GET,
TOKEN_KEYWORD_GET_FORMAT,
TOKEN_KEYWORD_GET_LOCK,
TOKEN_KEYWORD_GLENGTH,
TOKEN_KEYWORD_GLOBAL,
TOKEN_KEYWORD_GO,
TOKEN_KEYWORD_GOTO,
TOKEN_KEYWORD_GRANT,
TOKEN_KEYWORD_GREATEST,
TOKEN_KEYWORD_GROUP,
TOKEN_KEYWORD_GROUPING,
TOKEN_KEYWORD_GROUPS,
TOKEN_KEYWORD_GROUP_CONCAT,
TOKEN_KEYWORD_GROUP_REPLICATION_ADMIN,
TOKEN_KEYWORD_GTID_SUBSET,
TOKEN_KEYWORD_GTID_SUBTRACT,
TOKEN_KEYWORD_HANDLER,
TOKEN_KEYWORD_HAVING,
TOKEN_KEYWORD_HELP,
TOKEN_KEYWORD_HEX,
TOKEN_KEYWORD_HIGH_PRIORITY,
TOKEN_KEYWORD_HISTFILE,
TOKEN_KEYWORD_HISTIGNORE,
TOKEN_KEYWORD_HOST,
TOKEN_KEYWORD_HOUR,
TOKEN_KEYWORD_HOUR_MICROSECOND,
TOKEN_KEYWORD_HOUR_MINUTE,
TOKEN_KEYWORD_HOUR_SECOND,
TOKEN_KEYWORD_HTML,
TOKEN_KEYWORD_IDENTIFIER,
TOKEN_KEYWORD_IF,
TOKEN_KEYWORD_IFNULL,
TOKEN_KEYWORD_IGNORE,
TOKEN_KEYWORD_IGNORE_SPACES,
TOKEN_KEYWORD_IMMEDIATE,
TOKEN_KEYWORD_IMPORT, /* unused */
TOKEN_KEYWORD_IN,
TOKEN_KEYWORD_INDEX,
TOKEN_KEYWORD_INDEXED,
TOKEN_KEYWORD_INDEX_INFO,
TOKEN_KEYWORD_INDEX_LIST,
TOKEN_KEYWORD_INET4,
TOKEN_KEYWORD_INET6_ATON,
TOKEN_KEYWORD_INET6_NTOA,
TOKEN_KEYWORD_INET_ATON,
TOKEN_KEYWORD_INET_NTOA,
TOKEN_KEYWORD_INFILE,
TOKEN_KEYWORD_INITIALLY,
TOKEN_KEYWORD_INIT_COMMAND,
TOKEN_KEYWORD_INNER,
TOKEN_KEYWORD_INOUT,
TOKEN_KEYWORD_INSENSITIVE,
TOKEN_KEYWORD_INSERT,
TOKEN_KEYWORD_INSTALL,
TOKEN_KEYWORD_INSTEAD,
TOKEN_KEYWORD_INSTR,
TOKEN_KEYWORD_INT,
TOKEN_KEYWORD_INT1,
TOKEN_KEYWORD_INT2,
TOKEN_KEYWORD_INT3,
TOKEN_KEYWORD_INT4,
TOKEN_KEYWORD_INT8,
TOKEN_KEYWORD_INTEGER,
TOKEN_KEYWORD_INTERIORRINGN,
TOKEN_KEYWORD_INTERSECT,
TOKEN_KEYWORD_INTERSECTS,
TOKEN_KEYWORD_INTERVAL,
TOKEN_KEYWORD_INTO,
TOKEN_KEYWORD_IO_AFTER_GTIDS,
TOKEN_KEYWORD_IO_BEFORE_GTIDS,
TOKEN_KEYWORD_IS,
TOKEN_KEYWORD_ISCLOSED,
TOKEN_KEYWORD_ISEMPTY,
TOKEN_KEYWORD_ISNULL,
TOKEN_KEYWORD_ISSIMPLE,
TOKEN_KEYWORD_IS_FREE_LOCK,
TOKEN_KEYWORD_IS_IPV4,
TOKEN_KEYWORD_IS_IPV4_COMPAT,
TOKEN_KEYWORD_IS_IPV4_MAPPED,
TOKEN_KEYWORD_IS_IPV6,
TOKEN_KEYWORD_IS_USED_LOCK,
TOKEN_KEYWORD_ITERATE,
TOKEN_KEYWORD_JOIN,
TOKEN_KEYWORD_JSON,
TOKEN_KEYWORD_JSON_APPEND,
TOKEN_KEYWORD_JSON_ARRAY,
TOKEN_KEYWORD_JSON_ARRAY_APPEND,
TOKEN_KEYWORD_JSON_ARRAY_INSERT,
TOKEN_KEYWORD_JSON_CONTAINS,
TOKEN_KEYWORD_JSON_CONTAINS_PATH,
TOKEN_KEYWORD_JSON_DEPTH,
TOKEN_KEYWORD_JSON_EXTRACT,
TOKEN_KEYWORD_JSON_INSERT,
TOKEN_KEYWORD_JSON_KEYS,
TOKEN_KEYWORD_JSON_LENGTH,
TOKEN_KEYWORD_JSON_MERGE,
TOKEN_KEYWORD_JSON_OBJECT,
TOKEN_KEYWORD_JSON_QUERY,
TOKEN_KEYWORD_JSON_QUOTE,
TOKEN_KEYWORD_JSON_REMOVE,
TOKEN_KEYWORD_JSON_REPLACE,
TOKEN_KEYWORD_JSON_SEARCH,
TOKEN_KEYWORD_JSON_SET,
TOKEN_KEYWORD_JSON_TABLE,
TOKEN_KEYWORD_JSON_TYPE,
TOKEN_KEYWORD_JSON_UNQUOTE,
TOKEN_KEYWORD_JSON_VALID,
TOKEN_KEYWORD_JSON_VALUE,
TOKEN_KEYWORD_JULIANDAY,
TOKEN_KEYWORD_KEY,
TOKEN_KEYWORD_KEYS,
TOKEN_KEYWORD_KEYWORD,
TOKEN_KEYWORD_KILL,
TOKEN_KEYWORD_LAG,
TOKEN_KEYWORD_LANGUAGE,
TOKEN_KEYWORD_LAST,
TOKEN_KEYWORD_LASTVAL,
TOKEN_KEYWORD_LAST_DAY,
TOKEN_KEYWORD_LAST_INSERT_ID,
TOKEN_KEYWORD_LAST_VALUE,
TOKEN_KEYWORD_LATERAL,
TOKEN_KEYWORD_LCASE,
TOKEN_KEYWORD_LD_RUN_PATH,
TOKEN_KEYWORD_LEAD,
TOKEN_KEYWORD_LEADING,
TOKEN_KEYWORD_LEAST,
TOKEN_KEYWORD_LEAVE,
TOKEN_KEYWORD_LEFT,
TOKEN_KEYWORD_LENGTH,
TOKEN_KEYWORD_LEVEL,
TOKEN_KEYWORD_LIKE,
TOKEN_KEYWORD_LIMIT,
TOKEN_KEYWORD_LINE,
TOKEN_KEYWORD_LINEAR,
TOKEN_KEYWORD_LINEFROMTEXT,
TOKEN_KEYWORD_LINEFROMWKB,
TOKEN_KEYWORD_LINES,
TOKEN_KEYWORD_LINESTRING,
TOKEN_KEYWORD_LINESTRINGFROMTEXT,
TOKEN_KEYWORD_LINESTRINGFROMWKB,
TOKEN_KEYWORD_LINE_NUMBERS,
TOKEN_KEYWORD_LITERAL,
TOKEN_KEYWORD_LN,
TOKEN_KEYWORD_LOAD,
TOKEN_KEYWORD_LOAD_FILE,
TOKEN_KEYWORD_LOCAL,
TOKEN_KEYWORD_LOCALTIME,
TOKEN_KEYWORD_LOCALTIMESTAMP,
TOKEN_KEYWORD_LOCAL_INFILE,
TOKEN_KEYWORD_LOCATE,
TOKEN_KEYWORD_LOCK,
TOKEN_KEYWORD_LOG,
TOKEN_KEYWORD_LOG10,
TOKEN_KEYWORD_LOG2,
TOKEN_KEYWORD_LOGFILE,
TOKEN_KEYWORD_LOGIN_PATH,
TOKEN_KEYWORD_LONG,
TOKEN_KEYWORD_LONGBLOB,
TOKEN_KEYWORD_LONGTEXT,
TOKEN_KEYWORD_LOOP,
TOKEN_KEYWORD_LOWER,
TOKEN_KEYWORD_LOW_PRIORITY,
TOKEN_KEYWORD_LPAD,
TOKEN_KEYWORD_LTRIM,
TOKEN_KEYWORD_LUA,
TOKEN_KEYWORD_MAKEDATE,
TOKEN_KEYWORD_MAKETIME,
TOKEN_KEYWORD_MAKE_SET,
TOKEN_KEYWORD_MAP,
TOKEN_KEYWORD_MARGIN, /* export */
TOKEN_KEYWORD_MASTER_BIND,
TOKEN_KEYWORD_MASTER_HEARTBEAT_PERIOD,
TOKEN_KEYWORD_MASTER_POS_WAIT,
TOKEN_KEYWORD_MASTER_SSL_VERIFY_SERVER_CERT,
TOKEN_KEYWORD_MATCH,
TOKEN_KEYWORD_MAX,
TOKEN_KEYWORD_MAXVALUE,
TOKEN_KEYWORD_MAX_ALLOWED_PACKET,
TOKEN_KEYWORD_MAX_JOIN_SIZE,
TOKEN_KEYWORD_MAX_ROW_COUNT, /* export */
TOKEN_KEYWORD_MBRCONTAINS,
TOKEN_KEYWORD_MBRCOVEREDBY,
TOKEN_KEYWORD_MBRCOVERS,
TOKEN_KEYWORD_MBRDISJOINT,
TOKEN_KEYWORD_MBREQUAL,
TOKEN_KEYWORD_MBREQUALS,
TOKEN_KEYWORD_MBRINTERSECTS,
TOKEN_KEYWORD_MBROVERLAPS,
TOKEN_KEYWORD_MBRTOUCHES,
TOKEN_KEYWORD_MBRWITHIN,
TOKEN_KEYWORD_MD5,
TOKEN_KEYWORD_MEDIAN,
TOKEN_KEYWORD_MEDIUMBLOB,
TOKEN_KEYWORD_MEDIUMINT,
TOKEN_KEYWORD_MEDIUMTEXT,
TOKEN_KEYWORD_MICROSECOND,
TOKEN_KEYWORD_MID,
TOKEN_KEYWORD_MIDDLEINT,
TOKEN_KEYWORD_MIN,
TOKEN_KEYWORD_MINUTE,
TOKEN_KEYWORD_MINUTE_MICROSECOND,
TOKEN_KEYWORD_MINUTE_SECOND,
TOKEN_KEYWORD_MINVALUE,
TOKEN_KEYWORD_MLINEFROMTEXT,
TOKEN_KEYWORD_MLINEFROMWKB,
TOKEN_KEYWORD_MOD,
TOKEN_KEYWORD_MODE,
TOKEN_KEYWORD_MODIFIES,
TOKEN_KEYWORD_MONTH,
TOKEN_KEYWORD_MONTHNAME,
TOKEN_KEYWORD_MPOINTFROMTEXT,
TOKEN_KEYWORD_MPOINTFROMWKB,
TOKEN_KEYWORD_MPOLYFROMTEXT,
TOKEN_KEYWORD_MPOLYFROMWKB,
TOKEN_KEYWORD_MULTILINESTRING,
TOKEN_KEYWORD_MULTILINESTRINGFROMTEXT,
TOKEN_KEYWORD_MULTILINESTRINGFROMWKB,
TOKEN_KEYWORD_MULTIPOINT,
TOKEN_KEYWORD_MULTIPOINTFROMTEXT,
TOKEN_KEYWORD_MULTIPOINTFROMWKB,
TOKEN_KEYWORD_MULTIPOLYGON,
TOKEN_KEYWORD_MULTIPOLYGONFROMTEXT,
TOKEN_KEYWORD_MULTIPOLYGONFROMWKB,
TOKEN_KEYWORD_NAMED_COMMANDS,
TOKEN_KEYWORD_NAMES,
TOKEN_KEYWORD_NAME_CONST,
TOKEN_KEYWORD_NATURAL,
TOKEN_KEYWORD_NATURAL_SORT_KEY,
TOKEN_KEYWORD_NCHAR,
TOKEN_KEYWORD_NET_BUFFER_LENGTH,
TOKEN_KEYWORD_NEWLINE,
TOKEN_KEYWORD_NEXT,
TOKEN_KEYWORD_NEXTVAL,
TOKEN_KEYWORD_NIL,
TOKEN_KEYWORD_NO,
TOKEN_KEYWORD_NONE,
TOKEN_KEYWORD_NOPAGER,
TOKEN_KEYWORD_NOT,
TOKEN_KEYWORD_NOTEE,
TOKEN_KEYWORD_NOTNULL,
TOKEN_KEYWORD_NOW,
TOKEN_KEYWORD_NOWARNING,
TOKEN_KEYWORD_NO_AUTO_REHASH,
TOKEN_KEYWORD_NO_BEEP,
TOKEN_KEYWORD_NO_DEFAULTS,
TOKEN_KEYWORD_NO_NAMED_COMMANDS,
TOKEN_KEYWORD_NO_TEE,
TOKEN_KEYWORD_NO_WRITE_TO_BINLOG,
TOKEN_KEYWORD_NTH_VALUE,
TOKEN_KEYWORD_NTILE,
TOKEN_KEYWORD_NULL,
TOKEN_KEYWORD_NULLIF,
TOKEN_KEYWORD_NULLS,
TOKEN_KEYWORD_NUM,
TOKEN_KEYWORD_NUMBER,
TOKEN_KEYWORD_NUMERIC,
TOKEN_KEYWORD_NUMGEOMETRIES,
TOKEN_KEYWORD_NUMINTERIORRINGS,
TOKEN_KEYWORD_NUMPOINTS,
TOKEN_KEYWORD_NVARCHAR2,
TOKEN_KEYWORD_OCELOT_BATCH,
TOKEN_KEYWORD_OCELOT_CLIENT_SIDE_FUNCTIONS,
TOKEN_KEYWORD_OCELOT_COMPLETER_TIMEOUT,
TOKEN_KEYWORD_OCELOT_DBMS,
TOKEN_KEYWORD_OCELOT_DEBUG_DETACHED,
TOKEN_KEYWORD_OCELOT_DEBUG_HEIGHT,
TOKEN_KEYWORD_OCELOT_DEBUG_LEFT,
TOKEN_KEYWORD_OCELOT_DEBUG_TOP,
TOKEN_KEYWORD_OCELOT_DEBUG_WIDTH,
TOKEN_KEYWORD_OCELOT_EXPLORER_ACTION,
TOKEN_KEYWORD_OCELOT_EXPLORER_APPLICABLE_DBMSS,
TOKEN_KEYWORD_OCELOT_EXPLORER_APPLICABLE_TYPES,
TOKEN_KEYWORD_OCELOT_EXPLORER_BACKGROUND_COLOR,
TOKEN_KEYWORD_OCELOT_EXPLORER_DETACHED,
TOKEN_KEYWORD_OCELOT_EXPLORER_ENABLED,
TOKEN_KEYWORD_OCELOT_EXPLORER_FONT_FAMILY,
TOKEN_KEYWORD_OCELOT_EXPLORER_FONT_SIZE,
TOKEN_KEYWORD_OCELOT_EXPLORER_FONT_STYLE,
TOKEN_KEYWORD_OCELOT_EXPLORER_FONT_WEIGHT,
TOKEN_KEYWORD_OCELOT_EXPLORER_HEIGHT,
TOKEN_KEYWORD_OCELOT_EXPLORER_LEFT,
TOKEN_KEYWORD_OCELOT_EXPLORER_SHORTCUT,
TOKEN_KEYWORD_OCELOT_EXPLORER_TEXT,
TOKEN_KEYWORD_OCELOT_EXPLORER_TEXT_COLOR,
TOKEN_KEYWORD_OCELOT_EXPLORER_TOP,
TOKEN_KEYWORD_OCELOT_EXPLORER_VISIBLE,
TOKEN_KEYWORD_OCELOT_EXPLORER_WIDTH,
TOKEN_KEYWORD_OCELOT_EXPORT,
TOKEN_KEYWORD_OCELOT_EXTRA_RULE_1_BACKGROUND_COLOR,
TOKEN_KEYWORD_OCELOT_EXTRA_RULE_1_CONDITION,
TOKEN_KEYWORD_OCELOT_EXTRA_RULE_1_DISPLAY_AS,
TOKEN_KEYWORD_OCELOT_EXTRA_RULE_1_TEXT_COLOR,
TOKEN_KEYWORD_OCELOT_GRID_BACKGROUND_COLOR,
TOKEN_KEYWORD_OCELOT_GRID_CELL_BORDER_COLOR,
TOKEN_KEYWORD_OCELOT_GRID_CELL_BORDER_SIZE,
TOKEN_KEYWORD_OCELOT_GRID_CELL_HEIGHT,
TOKEN_KEYWORD_OCELOT_GRID_CELL_WIDTH,
TOKEN_KEYWORD_OCELOT_GRID_CHART,
TOKEN_KEYWORD_OCELOT_GRID_DETACHED,
TOKEN_KEYWORD_OCELOT_GRID_FOCUS_CELL_BACKGROUND_COLOR,
TOKEN_KEYWORD_OCELOT_GRID_FONT_FAMILY,
TOKEN_KEYWORD_OCELOT_GRID_FONT_SIZE,
TOKEN_KEYWORD_OCELOT_GRID_FONT_STYLE,
TOKEN_KEYWORD_OCELOT_GRID_FONT_WEIGHT,
TOKEN_KEYWORD_OCELOT_GRID_HEADER_BACKGROUND_COLOR,
TOKEN_KEYWORD_OCELOT_GRID_HEIGHT,
TOKEN_KEYWORD_OCELOT_GRID_HTML_EFFECTS,
TOKEN_KEYWORD_OCELOT_GRID_LEFT,
TOKEN_KEYWORD_OCELOT_GRID_OUTER_COLOR,
TOKEN_KEYWORD_OCELOT_GRID_TABS,
TOKEN_KEYWORD_OCELOT_GRID_TEXT_COLOR,
TOKEN_KEYWORD_OCELOT_GRID_TOOLTIP,
TOKEN_KEYWORD_OCELOT_GRID_TOP,
TOKEN_KEYWORD_OCELOT_GRID_WIDTH,
TOKEN_KEYWORD_OCELOT_HISTFILEFLAGS,
TOKEN_KEYWORD_OCELOT_HISTFILESIZE,
TOKEN_KEYWORD_OCELOT_HISTORY_BACKGROUND_COLOR,
TOKEN_KEYWORD_OCELOT_HISTORY_BORDER_COLOR,
TOKEN_KEYWORD_OCELOT_HISTORY_DETACHED,
TOKEN_KEYWORD_OCELOT_HISTORY_FONT_FAMILY,
TOKEN_KEYWORD_OCELOT_HISTORY_FONT_SIZE,
TOKEN_KEYWORD_OCELOT_HISTORY_FONT_STYLE,
TOKEN_KEYWORD_OCELOT_HISTORY_FONT_WEIGHT,
TOKEN_KEYWORD_OCELOT_HISTORY_HEIGHT,
TOKEN_KEYWORD_OCELOT_HISTORY_LEFT,
TOKEN_KEYWORD_OCELOT_HISTORY_MAX_ROW_COUNT,
TOKEN_KEYWORD_OCELOT_HISTORY_TEXT_COLOR,
TOKEN_KEYWORD_OCELOT_HISTORY_TOP,
TOKEN_KEYWORD_OCELOT_HISTORY_WIDTH,
TOKEN_KEYWORD_OCELOT_HISTSIZE,
TOKEN_KEYWORD_OCELOT_HORIZONTAL,
TOKEN_KEYWORD_OCELOT_HTML,
TOKEN_KEYWORD_OCELOT_HTMLRAW,
TOKEN_KEYWORD_OCELOT_IMPORT, /* if OCELOT_IMPORT_EXPORT == 1 */ /* unused */
TOKEN_KEYWORD_OCELOT_LANGUAGE,
TOKEN_KEYWORD_OCELOT_LOG_LEVEL,
TOKEN_KEYWORD_OCELOT_MAX_CONDITIONS,
TOKEN_KEYWORD_OCELOT_MENU_BACKGROUND_COLOR,
TOKEN_KEYWORD_OCELOT_MENU_BORDER_COLOR,
TOKEN_KEYWORD_OCELOT_MENU_FONT_FAMILY,
TOKEN_KEYWORD_OCELOT_MENU_FONT_SIZE,
TOKEN_KEYWORD_OCELOT_MENU_FONT_STYLE,
TOKEN_KEYWORD_OCELOT_MENU_FONT_WEIGHT,
TOKEN_KEYWORD_OCELOT_MENU_TEXT_COLOR,
TOKEN_KEYWORD_OCELOT_QUERY,
TOKEN_KEYWORD_OCELOT_RAW,
TOKEN_KEYWORD_OCELOT_SHORTCUT_AUTOCOMPLETE, /* KEYWORD_OCELOT_SHORTCUT_* items are obsolete, remove in next version */
TOKEN_KEYWORD_OCELOT_SHORTCUT_BATCH,
TOKEN_KEYWORD_OCELOT_SHORTCUT_BREAKPOINT,
TOKEN_KEYWORD_OCELOT_SHORTCUT_CHART_BAR,
TOKEN_KEYWORD_OCELOT_SHORTCUT_CHART_LINE,
TOKEN_KEYWORD_OCELOT_SHORTCUT_CHART_NONE,
TOKEN_KEYWORD_OCELOT_SHORTCUT_CHART_PIE,
TOKEN_KEYWORD_OCELOT_SHORTCUT_CLEAR,
TOKEN_KEYWORD_OCELOT_SHORTCUT_CONNECT,
TOKEN_KEYWORD_OCELOT_SHORTCUT_CONTINUE,
TOKEN_KEYWORD_OCELOT_SHORTCUT_COPY,
TOKEN_KEYWORD_OCELOT_SHORTCUT_CUT,
TOKEN_KEYWORD_OCELOT_SHORTCUT_DEBUG_EXIT,
TOKEN_KEYWORD_OCELOT_SHORTCUT_EXECUTE,
TOKEN_KEYWORD_OCELOT_SHORTCUT_EXIT,
TOKEN_KEYWORD_OCELOT_SHORTCUT_FIND,
TOKEN_KEYWORD_OCELOT_SHORTCUT_FORMAT,
TOKEN_KEYWORD_OCELOT_SHORTCUT_HISTORY_MARKUP_NEXT,
TOKEN_KEYWORD_OCELOT_SHORTCUT_HISTORY_MARKUP_PREVIOUS,
TOKEN_KEYWORD_OCELOT_SHORTCUT_HORIZONTAL,
TOKEN_KEYWORD_OCELOT_SHORTCUT_HTML,
TOKEN_KEYWORD_OCELOT_SHORTCUT_HTMLRAW,