430
258
static int get_field_disp_length(drizzle_column_st * field);
431
259
static const char * strcont(register const char *str, register const char *set);
433
/* A class which contains information on the commands this program
261
/* A structure which contains information on the commands this program
434
262
can understand. */
438
264
const char *name; /* User printable name of the function. */
439
265
char cmd_char; /* msql command character */
441
Commands(const char *in_name,
443
int (*in_func)(string *str,const char *name),
444
bool in_takes_params,
448
cmd_char(in_cmd_char),
450
takes_params(in_takes_params),
463
int (*func)(string *str,const char *);/* Function to call to do the job. */
465
const char *getName() const
470
char getCmdChar() const
475
bool getTakesParams() const
480
const char *getDoc() const
485
void setName(const char *in_name)
490
void setCmdChar(char in_cmd_char)
492
cmd_char= in_cmd_char;
495
void setTakesParams(bool in_takes_params)
497
takes_params= in_takes_params;
500
void setDoc(const char *in_doc)
266
int (*func)(string *str,const char *); /* Function to call to do the job. */
506
267
bool takes_params; /* Max parameters for command */
507
268
const char *doc; /* Documentation for this function. */
511
static Commands commands[] = {
512
Commands( "?", '?', com_help, 0, N_("Synonym for `help'.") ),
513
Commands( "clear", 'c', com_clear, 0, N_("Clear command.")),
514
Commands( "connect",'r', com_connect,1,
515
N_("Reconnect to the server. Optional arguments are db and host.")),
516
Commands( "delimiter", 'd', com_delimiter, 1,
517
N_("Set statement delimiter. NOTE: Takes the rest of the line as new delimiter.") ),
518
Commands( "ego", 'G', com_ego, 0,
519
N_("Send command to drizzle server, display result vertically.")),
520
Commands( "exit", 'q', com_quit, 0, N_("Exit drizzle. Same as quit.")),
521
Commands( "go", 'g', com_go, 0, N_("Send command to drizzle server.") ),
522
Commands( "help", 'h', com_help, 0, N_("Display this help.") ),
523
Commands( "nopager",'n', com_nopager,0, N_("Disable pager, print to stdout.") ),
524
Commands( "notee", 't', com_notee, 0, N_("Don't write into outfile.") ),
525
Commands( "pager", 'P', com_pager, 1,
526
N_("Set PAGER [to_pager]. Print the query results via PAGER.") ),
527
Commands( "print", 'p', com_print, 0, N_("Print current command.") ),
528
Commands( "prompt", 'R', com_prompt, 1, N_("Change your drizzle prompt.")),
529
Commands( "quit", 'q', com_quit, 0, N_("Quit drizzle.") ),
530
Commands( "rehash", '#', com_rehash, 0, N_("Rebuild completion hash.") ),
531
Commands( "source", '.', com_source, 1,
532
N_("Execute an SQL script file. Takes a file name as an argument.")),
533
Commands( "status", 's', com_status, 0, N_("Get status information from the server.")),
534
Commands( "tee", 'T', com_tee, 1,
535
N_("Set outfile [to_outfile]. Append everything into given outfile.") ),
536
Commands( "use", 'u', com_use, 1,
537
N_("Use another schema. Takes schema name as argument.") ),
538
Commands( "shutdown", 'u', com_shutdown, 1,
539
N_("Shutdown the instance you are connected too.") ),
540
Commands( "warnings", 'W', com_warnings, 0,
541
N_("Show warnings after every statement.") ),
542
Commands( "nowarning", 'w', com_nowarnings, 0,
543
N_("Don't show warnings after every statement.") ),
272
static COMMANDS commands[] = {
273
{ "?", '?', com_help, 0, N_("Synonym for `help'.") },
274
{ "clear", 'c', com_clear, 0, N_("Clear command.")},
275
{ "connect",'r', com_connect,1,
276
N_("Reconnect to the server. Optional arguments are db and host.")},
277
{ "delimiter", 'd', com_delimiter, 1,
278
N_("Set statement delimiter. NOTE: Takes the rest of the line as new delimiter.") },
279
{ "ego", 'G', com_ego, 0,
280
N_("Send command to drizzle server, display result vertically.")},
281
{ "exit", 'q', com_quit, 0, N_("Exit drizzle. Same as quit.")},
282
{ "go", 'g', com_go, 0, N_("Send command to drizzle server.") },
283
{ "help", 'h', com_help, 0, N_("Display this help.") },
284
{ "nopager",'n', com_nopager,0, N_("Disable pager, print to stdout.") },
285
{ "notee", 't', com_notee, 0, N_("Don't write into outfile.") },
286
{ "pager", 'P', com_pager, 1,
287
N_("Set PAGER [to_pager]. Print the query results via PAGER.") },
288
{ "print", 'p', com_print, 0, N_("Print current command.") },
289
{ "prompt", 'R', com_prompt, 1, N_("Change your drizzle prompt.")},
290
{ "quit", 'q', com_quit, 0, N_("Quit drizzle.") },
291
{ "rehash", '#', com_rehash, 0, N_("Rebuild completion hash.") },
292
{ "source", '.', com_source, 1,
293
N_("Execute an SQL script file. Takes a file name as an argument.")},
294
{ "status", 's', com_status, 0, N_("Get status information from the server.")},
295
{ "tee", 'T', com_tee, 1,
296
N_("Set outfile [to_outfile]. Append everything into given outfile.") },
297
{ "use", 'u', com_use, 1,
298
N_("Use another database. Takes database name as argument.") },
299
{ "warnings", 'W', com_warnings, 0,
300
N_("Show warnings after every statement.") },
301
{ "nowarning", 'w', com_nowarnings, 0,
302
N_("Don't show warnings after every statement.") },
544
303
/* Get bash-like expansion for some commands */
545
Commands( "create table", 0, 0, 0, ""),
546
Commands( "create database", 0, 0, 0, ""),
547
Commands( "show databases", 0, 0, 0, ""),
548
Commands( "show fields from", 0, 0, 0, ""),
549
Commands( "show keys from", 0, 0, 0, ""),
550
Commands( "show tables", 0, 0, 0, ""),
551
Commands( "load data from", 0, 0, 0, ""),
552
Commands( "alter table", 0, 0, 0, ""),
553
Commands( "set option", 0, 0, 0, ""),
554
Commands( "lock tables", 0, 0, 0, ""),
555
Commands( "unlock tables", 0, 0, 0, ""),
304
{ "create table", 0, 0, 0, ""},
305
{ "create database", 0, 0, 0, ""},
306
{ "show databases", 0, 0, 0, ""},
307
{ "show fields from", 0, 0, 0, ""},
308
{ "show keys from", 0, 0, 0, ""},
309
{ "show tables", 0, 0, 0, ""},
310
{ "load data from", 0, 0, 0, ""},
311
{ "alter table", 0, 0, 0, ""},
312
{ "set option", 0, 0, 0, ""},
313
{ "lock tables", 0, 0, 0, ""},
314
{ "unlock tables", 0, 0, 0, ""},
556
315
/* generated 2006-12-28. Refresh occasionally from lexer. */
557
Commands( "ACTION", 0, 0, 0, ""),
558
Commands( "ADD", 0, 0, 0, ""),
559
Commands( "AFTER", 0, 0, 0, ""),
560
Commands( "AGAINST", 0, 0, 0, ""),
561
Commands( "AGGREGATE", 0, 0, 0, ""),
562
Commands( "ALL", 0, 0, 0, ""),
563
Commands( "ALGORITHM", 0, 0, 0, ""),
564
Commands( "ALTER", 0, 0, 0, ""),
565
Commands( "ANALYZE", 0, 0, 0, ""),
566
Commands( "AND", 0, 0, 0, ""),
567
Commands( "ANY", 0, 0, 0, ""),
568
Commands( "AS", 0, 0, 0, ""),
569
Commands( "ASC", 0, 0, 0, ""),
570
Commands( "ASCII", 0, 0, 0, ""),
571
Commands( "ASENSITIVE", 0, 0, 0, ""),
572
Commands( "AUTO_INCREMENT", 0, 0, 0, ""),
573
Commands( "AVG", 0, 0, 0, ""),
574
Commands( "AVG_ROW_LENGTH", 0, 0, 0, ""),
575
Commands( "BEFORE", 0, 0, 0, ""),
576
Commands( "BEGIN", 0, 0, 0, ""),
577
Commands( "BETWEEN", 0, 0, 0, ""),
578
Commands( "BIGINT", 0, 0, 0, ""),
579
Commands( "BINARY", 0, 0, 0, ""),
580
Commands( "BIT", 0, 0, 0, ""),
581
Commands( "BLOB", 0, 0, 0, ""),
582
Commands( "BOOL", 0, 0, 0, ""),
583
Commands( "BOOLEAN", 0, 0, 0, ""),
584
Commands( "BOTH", 0, 0, 0, ""),
585
Commands( "BTREE", 0, 0, 0, ""),
586
Commands( "BY", 0, 0, 0, ""),
587
Commands( "BYTE", 0, 0, 0, ""),
588
Commands( "CACHE", 0, 0, 0, ""),
589
Commands( "CALL", 0, 0, 0, ""),
590
Commands( "CASCADE", 0, 0, 0, ""),
591
Commands( "CASCADED", 0, 0, 0, ""),
592
Commands( "CASE", 0, 0, 0, ""),
593
Commands( "CHAIN", 0, 0, 0, ""),
594
Commands( "CHANGE", 0, 0, 0, ""),
595
Commands( "CHANGED", 0, 0, 0, ""),
596
Commands( "CHAR", 0, 0, 0, ""),
597
Commands( "CHARACTER", 0, 0, 0, ""),
598
Commands( "CHECK", 0, 0, 0, ""),
599
Commands( "CHECKSUM", 0, 0, 0, ""),
600
Commands( "CLIENT", 0, 0, 0, ""),
601
Commands( "CLOSE", 0, 0, 0, ""),
602
Commands( "COLLATE", 0, 0, 0, ""),
603
Commands( "COLLATION", 0, 0, 0, ""),
604
Commands( "COLUMN", 0, 0, 0, ""),
605
Commands( "COLUMNS", 0, 0, 0, ""),
606
Commands( "COMMENT", 0, 0, 0, ""),
607
Commands( "COMMIT", 0, 0, 0, ""),
608
Commands( "COMMITTED", 0, 0, 0, ""),
609
Commands( "COMPACT", 0, 0, 0, ""),
610
Commands( "COMPRESSED", 0, 0, 0, ""),
611
Commands( "CONCURRENT", 0, 0, 0, ""),
612
Commands( "CONDITION", 0, 0, 0, ""),
613
Commands( "CONNECTION", 0, 0, 0, ""),
614
Commands( "CONSISTENT", 0, 0, 0, ""),
615
Commands( "CONSTRAINT", 0, 0, 0, ""),
616
Commands( "CONTAINS", 0, 0, 0, ""),
617
Commands( "CONTINUE", 0, 0, 0, ""),
618
Commands( "CONVERT", 0, 0, 0, ""),
619
Commands( "CREATE", 0, 0, 0, ""),
620
Commands( "CROSS", 0, 0, 0, ""),
621
Commands( "CUBE", 0, 0, 0, ""),
622
Commands( "CURRENT_DATE", 0, 0, 0, ""),
623
Commands( "CURRENT_TIMESTAMP", 0, 0, 0, ""),
624
Commands( "CURRENT_USER", 0, 0, 0, ""),
625
Commands( "CURSOR", 0, 0, 0, ""),
626
Commands( "DATA", 0, 0, 0, ""),
627
Commands( "DATABASE", 0, 0, 0, ""),
628
Commands( "DATABASES", 0, 0, 0, ""),
629
Commands( "DATE", 0, 0, 0, ""),
630
Commands( "DATETIME", 0, 0, 0, ""),
631
Commands( "DAY", 0, 0, 0, ""),
632
Commands( "DAY_HOUR", 0, 0, 0, ""),
633
Commands( "DAY_MICROSECOND", 0, 0, 0, ""),
634
Commands( "DAY_MINUTE", 0, 0, 0, ""),
635
Commands( "DAY_SECOND", 0, 0, 0, ""),
636
Commands( "DEALLOCATE", 0, 0, 0, ""),
637
Commands( "DEC", 0, 0, 0, ""),
638
Commands( "DECIMAL", 0, 0, 0, ""),
639
Commands( "DECLARE", 0, 0, 0, ""),
640
Commands( "DEFAULT", 0, 0, 0, ""),
641
Commands( "DEFINER", 0, 0, 0, ""),
642
Commands( "DELAYED", 0, 0, 0, ""),
643
Commands( "DELETE", 0, 0, 0, ""),
644
Commands( "DESC", 0, 0, 0, ""),
645
Commands( "DESCRIBE", 0, 0, 0, ""),
646
Commands( "DETERMINISTIC", 0, 0, 0, ""),
647
Commands( "DISABLE", 0, 0, 0, ""),
648
Commands( "DISCARD", 0, 0, 0, ""),
649
Commands( "DISTINCT", 0, 0, 0, ""),
650
Commands( "DISTINCTROW", 0, 0, 0, ""),
651
Commands( "DIV", 0, 0, 0, ""),
652
Commands( "DOUBLE", 0, 0, 0, ""),
653
Commands( "DROP", 0, 0, 0, ""),
654
Commands( "DUMPFILE", 0, 0, 0, ""),
655
Commands( "DUPLICATE", 0, 0, 0, ""),
656
Commands( "DYNAMIC", 0, 0, 0, ""),
657
Commands( "EACH", 0, 0, 0, ""),
658
Commands( "ELSE", 0, 0, 0, ""),
659
Commands( "ELSEIF", 0, 0, 0, ""),
660
Commands( "ENABLE", 0, 0, 0, ""),
661
Commands( "ENCLOSED", 0, 0, 0, ""),
662
Commands( "END", 0, 0, 0, ""),
663
Commands( "ENGINE", 0, 0, 0, ""),
664
Commands( "ENGINES", 0, 0, 0, ""),
665
Commands( "ENUM", 0, 0, 0, ""),
666
Commands( "ERRORS", 0, 0, 0, ""),
667
Commands( "ESCAPE", 0, 0, 0, ""),
668
Commands( "ESCAPED", 0, 0, 0, ""),
669
Commands( "EXISTS", 0, 0, 0, ""),
670
Commands( "EXIT", 0, 0, 0, ""),
671
Commands( "EXPLAIN", 0, 0, 0, ""),
672
Commands( "EXTENDED", 0, 0, 0, ""),
673
Commands( "FALSE", 0, 0, 0, ""),
674
Commands( "FAST", 0, 0, 0, ""),
675
Commands( "FETCH", 0, 0, 0, ""),
676
Commands( "FIELDS", 0, 0, 0, ""),
677
Commands( "FILE", 0, 0, 0, ""),
678
Commands( "FIRST", 0, 0, 0, ""),
679
Commands( "FIXED", 0, 0, 0, ""),
680
Commands( "FLOAT", 0, 0, 0, ""),
681
Commands( "FLOAT4", 0, 0, 0, ""),
682
Commands( "FLOAT8", 0, 0, 0, ""),
683
Commands( "FLUSH", 0, 0, 0, ""),
684
Commands( "FOR", 0, 0, 0, ""),
685
Commands( "FORCE", 0, 0, 0, ""),
686
Commands( "FOREIGN", 0, 0, 0, ""),
687
Commands( "FOUND", 0, 0, 0, ""),
688
Commands( "FRAC_SECOND", 0, 0, 0, ""),
689
Commands( "FROM", 0, 0, 0, ""),
690
Commands( "FULL", 0, 0, 0, ""),
691
Commands( "FUNCTION", 0, 0, 0, ""),
692
Commands( "GLOBAL", 0, 0, 0, ""),
693
Commands( "GRANT", 0, 0, 0, ""),
694
Commands( "GRANTS", 0, 0, 0, ""),
695
Commands( "GROUP", 0, 0, 0, ""),
696
Commands( "HANDLER", 0, 0, 0, ""),
697
Commands( "HASH", 0, 0, 0, ""),
698
Commands( "HAVING", 0, 0, 0, ""),
699
Commands( "HELP", 0, 0, 0, ""),
700
Commands( "HIGH_PRIORITY", 0, 0, 0, ""),
701
Commands( "HOSTS", 0, 0, 0, ""),
702
Commands( "HOUR", 0, 0, 0, ""),
703
Commands( "HOUR_MICROSECOND", 0, 0, 0, ""),
704
Commands( "HOUR_MINUTE", 0, 0, 0, ""),
705
Commands( "HOUR_SECOND", 0, 0, 0, ""),
706
Commands( "IDENTIFIED", 0, 0, 0, ""),
707
Commands( "IF", 0, 0, 0, ""),
708
Commands( "IGNORE", 0, 0, 0, ""),
709
Commands( "IMPORT", 0, 0, 0, ""),
710
Commands( "IN", 0, 0, 0, ""),
711
Commands( "INDEX", 0, 0, 0, ""),
712
Commands( "INDEXES", 0, 0, 0, ""),
713
Commands( "INFILE", 0, 0, 0, ""),
714
Commands( "INNER", 0, 0, 0, ""),
715
Commands( "INNOBASE", 0, 0, 0, ""),
716
Commands( "INNODB", 0, 0, 0, ""),
717
Commands( "INOUT", 0, 0, 0, ""),
718
Commands( "INSENSITIVE", 0, 0, 0, ""),
719
Commands( "INSERT", 0, 0, 0, ""),
720
Commands( "INSERT_METHOD", 0, 0, 0, ""),
721
Commands( "INT", 0, 0, 0, ""),
722
Commands( "INT1", 0, 0, 0, ""),
723
Commands( "INT2", 0, 0, 0, ""),
724
Commands( "INT3", 0, 0, 0, ""),
725
Commands( "INT4", 0, 0, 0, ""),
726
Commands( "INT8", 0, 0, 0, ""),
727
Commands( "INTEGER", 0, 0, 0, ""),
728
Commands( "INTERVAL", 0, 0, 0, ""),
729
Commands( "INTO", 0, 0, 0, ""),
730
Commands( "IO_THREAD", 0, 0, 0, ""),
731
Commands( "IS", 0, 0, 0, ""),
732
Commands( "ISOLATION", 0, 0, 0, ""),
733
Commands( "ISSUER", 0, 0, 0, ""),
734
Commands( "ITERATE", 0, 0, 0, ""),
735
Commands( "INVOKER", 0, 0, 0, ""),
736
Commands( "JOIN", 0, 0, 0, ""),
737
Commands( "KEY", 0, 0, 0, ""),
738
Commands( "KEYS", 0, 0, 0, ""),
739
Commands( "KILL", 0, 0, 0, ""),
740
Commands( "LANGUAGE", 0, 0, 0, ""),
741
Commands( "LAST", 0, 0, 0, ""),
742
Commands( "LEADING", 0, 0, 0, ""),
743
Commands( "LEAVE", 0, 0, 0, ""),
744
Commands( "LEAVES", 0, 0, 0, ""),
745
Commands( "LEFT", 0, 0, 0, ""),
746
Commands( "LEVEL", 0, 0, 0, ""),
747
Commands( "LIKE", 0, 0, 0, ""),
748
Commands( "LIMIT", 0, 0, 0, ""),
749
Commands( "LINES", 0, 0, 0, ""),
750
Commands( "LINESTRING", 0, 0, 0, ""),
751
Commands( "LOAD", 0, 0, 0, ""),
752
Commands( "LOCAL", 0, 0, 0, ""),
753
Commands( "LOCALTIMESTAMP", 0, 0, 0, ""),
754
Commands( "LOCK", 0, 0, 0, ""),
755
Commands( "LOCKS", 0, 0, 0, ""),
756
Commands( "LOGS", 0, 0, 0, ""),
757
Commands( "LONG", 0, 0, 0, ""),
758
Commands( "LOOP", 0, 0, 0, ""),
759
Commands( "MATCH", 0, 0, 0, ""),
760
Commands( "MAX_CONNECTIONS_PER_HOUR", 0, 0, 0, ""),
761
Commands( "MAX_QUERIES_PER_HOUR", 0, 0, 0, ""),
762
Commands( "MAX_ROWS", 0, 0, 0, ""),
763
Commands( "MAX_UPDATES_PER_HOUR", 0, 0, 0, ""),
764
Commands( "MAX_USER_CONNECTIONS", 0, 0, 0, ""),
765
Commands( "MEDIUM", 0, 0, 0, ""),
766
Commands( "MERGE", 0, 0, 0, ""),
767
Commands( "MICROSECOND", 0, 0, 0, ""),
768
Commands( "MIGRATE", 0, 0, 0, ""),
769
Commands( "MINUTE", 0, 0, 0, ""),
770
Commands( "MINUTE_MICROSECOND", 0, 0, 0, ""),
771
Commands( "MINUTE_SECOND", 0, 0, 0, ""),
772
Commands( "MIN_ROWS", 0, 0, 0, ""),
773
Commands( "MOD", 0, 0, 0, ""),
774
Commands( "MODE", 0, 0, 0, ""),
775
Commands( "MODIFIES", 0, 0, 0, ""),
776
Commands( "MODIFY", 0, 0, 0, ""),
777
Commands( "MONTH", 0, 0, 0, ""),
778
Commands( "MULTILINESTRING", 0, 0, 0, ""),
779
Commands( "MULTIPOINT", 0, 0, 0, ""),
780
Commands( "MULTIPOLYGON", 0, 0, 0, ""),
781
Commands( "MUTEX", 0, 0, 0, ""),
782
Commands( "NAME", 0, 0, 0, ""),
783
Commands( "NAMES", 0, 0, 0, ""),
784
Commands( "NATIONAL", 0, 0, 0, ""),
785
Commands( "NATURAL", 0, 0, 0, ""),
786
Commands( "NCHAR", 0, 0, 0, ""),
787
Commands( "NEW", 0, 0, 0, ""),
788
Commands( "NEXT", 0, 0, 0, ""),
789
Commands( "NO", 0, 0, 0, ""),
790
Commands( "NONE", 0, 0, 0, ""),
791
Commands( "NOT", 0, 0, 0, ""),
792
Commands( "NULL", 0, 0, 0, ""),
793
Commands( "NUMERIC", 0, 0, 0, ""),
794
Commands( "NVARCHAR", 0, 0, 0, ""),
795
Commands( "OFFSET", 0, 0, 0, ""),
796
Commands( "ON", 0, 0, 0, ""),
797
Commands( "ONE", 0, 0, 0, ""),
798
Commands( "ONE_SHOT", 0, 0, 0, ""),
799
Commands( "OPEN", 0, 0, 0, ""),
800
Commands( "OPTIMIZE", 0, 0, 0, ""),
801
Commands( "OPTION", 0, 0, 0, ""),
802
Commands( "OPTIONALLY", 0, 0, 0, ""),
803
Commands( "OR", 0, 0, 0, ""),
804
Commands( "ORDER", 0, 0, 0, ""),
805
Commands( "OUT", 0, 0, 0, ""),
806
Commands( "OUTER", 0, 0, 0, ""),
807
Commands( "OUTFILE", 0, 0, 0, ""),
808
Commands( "PACK_KEYS", 0, 0, 0, ""),
809
Commands( "PARTIAL", 0, 0, 0, ""),
810
Commands( "PASSWORD", 0, 0, 0, ""),
811
Commands( "PHASE", 0, 0, 0, ""),
812
Commands( "PRECISION", 0, 0, 0, ""),
813
Commands( "PREPARE", 0, 0, 0, ""),
814
Commands( "PREV", 0, 0, 0, ""),
815
Commands( "PRIMARY", 0, 0, 0, ""),
816
Commands( "PRIVILEGES", 0, 0, 0, ""),
817
Commands( "PROCEDURE", 0, 0, 0, ""),
818
Commands( "PROCESS", 0, 0, 0, ""),
819
Commands( "PROCESSLIST", 0, 0, 0, ""),
820
Commands( "PURGE", 0, 0, 0, ""),
821
Commands( "QUARTER", 0, 0, 0, ""),
822
Commands( "QUERY", 0, 0, 0, ""),
823
Commands( "QUICK", 0, 0, 0, ""),
824
Commands( "READ", 0, 0, 0, ""),
825
Commands( "READS", 0, 0, 0, ""),
826
Commands( "REAL", 0, 0, 0, ""),
827
Commands( "RECOVER", 0, 0, 0, ""),
828
Commands( "REDUNDANT", 0, 0, 0, ""),
829
Commands( "REFERENCES", 0, 0, 0, ""),
830
Commands( "REGEXP", 0, 0, 0, ""),
831
Commands( "RELEASE", 0, 0, 0, ""),
832
Commands( "RELOAD", 0, 0, 0, ""),
833
Commands( "RENAME", 0, 0, 0, ""),
834
Commands( "REPAIR", 0, 0, 0, ""),
835
Commands( "REPEATABLE", 0, 0, 0, ""),
836
Commands( "REPLACE", 0, 0, 0, ""),
837
Commands( "REPEAT", 0, 0, 0, ""),
838
Commands( "REQUIRE", 0, 0, 0, ""),
839
Commands( "RESET", 0, 0, 0, ""),
840
Commands( "RESTORE", 0, 0, 0, ""),
841
Commands( "RESTRICT", 0, 0, 0, ""),
842
Commands( "RESUME", 0, 0, 0, ""),
843
Commands( "RETURN", 0, 0, 0, ""),
844
Commands( "RETURNS", 0, 0, 0, ""),
845
Commands( "REVOKE", 0, 0, 0, ""),
846
Commands( "RIGHT", 0, 0, 0, ""),
847
Commands( "RLIKE", 0, 0, 0, ""),
848
Commands( "ROLLBACK", 0, 0, 0, ""),
849
Commands( "ROLLUP", 0, 0, 0, ""),
850
Commands( "ROUTINE", 0, 0, 0, ""),
851
Commands( "ROW", 0, 0, 0, ""),
852
Commands( "ROWS", 0, 0, 0, ""),
853
Commands( "ROW_FORMAT", 0, 0, 0, ""),
854
Commands( "RTREE", 0, 0, 0, ""),
855
Commands( "SAVEPOINT", 0, 0, 0, ""),
856
Commands( "SCHEMA", 0, 0, 0, ""),
857
Commands( "SCHEMAS", 0, 0, 0, ""),
858
Commands( "SECOND", 0, 0, 0, ""),
859
Commands( "SECOND_MICROSECOND", 0, 0, 0, ""),
860
Commands( "SECURITY", 0, 0, 0, ""),
861
Commands( "SELECT", 0, 0, 0, ""),
862
Commands( "SENSITIVE", 0, 0, 0, ""),
863
Commands( "SEPARATOR", 0, 0, 0, ""),
864
Commands( "SERIAL", 0, 0, 0, ""),
865
Commands( "SERIALIZABLE", 0, 0, 0, ""),
866
Commands( "SESSION", 0, 0, 0, ""),
867
Commands( "SET", 0, 0, 0, ""),
868
Commands( "SHARE", 0, 0, 0, ""),
869
Commands( "SHOW", 0, 0, 0, ""),
870
Commands( "SHUTDOWN", 0, 0, 0, ""),
871
Commands( "SIGNED", 0, 0, 0, ""),
872
Commands( "SIMPLE", 0, 0, 0, ""),
873
Commands( "SLAVE", 0, 0, 0, ""),
874
Commands( "SNAPSHOT", 0, 0, 0, ""),
875
Commands( "SOME", 0, 0, 0, ""),
876
Commands( "SONAME", 0, 0, 0, ""),
877
Commands( "SOUNDS", 0, 0, 0, ""),
878
Commands( "SPATIAL", 0, 0, 0, ""),
879
Commands( "SPECIFIC", 0, 0, 0, ""),
880
Commands( "SQL", 0, 0, 0, ""),
881
Commands( "SQLEXCEPTION", 0, 0, 0, ""),
882
Commands( "SQLSTATE", 0, 0, 0, ""),
883
Commands( "SQLWARNING", 0, 0, 0, ""),
884
Commands( "SQL_BIG_RESULT", 0, 0, 0, ""),
885
Commands( "SQL_BUFFER_RESULT", 0, 0, 0, ""),
886
Commands( "SQL_CACHE", 0, 0, 0, ""),
887
Commands( "SQL_CALC_FOUND_ROWS", 0, 0, 0, ""),
888
Commands( "SQL_NO_CACHE", 0, 0, 0, ""),
889
Commands( "SQL_SMALL_RESULT", 0, 0, 0, ""),
890
Commands( "SQL_THREAD", 0, 0, 0, ""),
891
Commands( "SQL_TSI_FRAC_SECOND", 0, 0, 0, ""),
892
Commands( "SQL_TSI_SECOND", 0, 0, 0, ""),
893
Commands( "SQL_TSI_MINUTE", 0, 0, 0, ""),
894
Commands( "SQL_TSI_HOUR", 0, 0, 0, ""),
895
Commands( "SQL_TSI_DAY", 0, 0, 0, ""),
896
Commands( "SQL_TSI_WEEK", 0, 0, 0, ""),
897
Commands( "SQL_TSI_MONTH", 0, 0, 0, ""),
898
Commands( "SQL_TSI_QUARTER", 0, 0, 0, ""),
899
Commands( "SQL_TSI_YEAR", 0, 0, 0, ""),
900
Commands( "SSL", 0, 0, 0, ""),
901
Commands( "START", 0, 0, 0, ""),
902
Commands( "STARTING", 0, 0, 0, ""),
903
Commands( "STATUS", 0, 0, 0, ""),
904
Commands( "STOP", 0, 0, 0, ""),
905
Commands( "STORAGE", 0, 0, 0, ""),
906
Commands( "STRAIGHT_JOIN", 0, 0, 0, ""),
907
Commands( "STRING", 0, 0, 0, ""),
908
Commands( "STRIPED", 0, 0, 0, ""),
909
Commands( "SUBJECT", 0, 0, 0, ""),
910
Commands( "SUPER", 0, 0, 0, ""),
911
Commands( "SUSPEND", 0, 0, 0, ""),
912
Commands( "TABLE", 0, 0, 0, ""),
913
Commands( "TABLES", 0, 0, 0, ""),
914
Commands( "TABLESPACE", 0, 0, 0, ""),
915
Commands( "TEMPORARY", 0, 0, 0, ""),
916
Commands( "TEMPTABLE", 0, 0, 0, ""),
917
Commands( "TERMINATED", 0, 0, 0, ""),
918
Commands( "TEXT", 0, 0, 0, ""),
919
Commands( "THEN", 0, 0, 0, ""),
920
Commands( "TIMESTAMP", 0, 0, 0, ""),
921
Commands( "TIMESTAMPADD", 0, 0, 0, ""),
922
Commands( "TIMESTAMPDIFF", 0, 0, 0, ""),
923
Commands( "TO", 0, 0, 0, ""),
924
Commands( "TRAILING", 0, 0, 0, ""),
925
Commands( "TRANSACTION", 0, 0, 0, ""),
926
Commands( "TRUE", 0, 0, 0, ""),
927
Commands( "TRUNCATE", 0, 0, 0, ""),
928
Commands( "TYPE", 0, 0, 0, ""),
929
Commands( "TYPES", 0, 0, 0, ""),
930
Commands( "UNCOMMITTED", 0, 0, 0, ""),
931
Commands( "UNDEFINED", 0, 0, 0, ""),
932
Commands( "UNDO", 0, 0, 0, ""),
933
Commands( "UNICODE", 0, 0, 0, ""),
934
Commands( "UNION", 0, 0, 0, ""),
935
Commands( "UNIQUE", 0, 0, 0, ""),
936
Commands( "UNKNOWN", 0, 0, 0, ""),
937
Commands( "UNLOCK", 0, 0, 0, ""),
938
Commands( "UNTIL", 0, 0, 0, ""),
939
Commands( "UPDATE", 0, 0, 0, ""),
940
Commands( "UPGRADE", 0, 0, 0, ""),
941
Commands( "USAGE", 0, 0, 0, ""),
942
Commands( "USE", 0, 0, 0, ""),
943
Commands( "USER", 0, 0, 0, ""),
944
Commands( "USER_RESOURCES", 0, 0, 0, ""),
945
Commands( "USING", 0, 0, 0, ""),
946
Commands( "UTC_DATE", 0, 0, 0, ""),
947
Commands( "UTC_TIMESTAMP", 0, 0, 0, ""),
948
Commands( "VALUE", 0, 0, 0, ""),
949
Commands( "VALUES", 0, 0, 0, ""),
950
Commands( "VARBINARY", 0, 0, 0, ""),
951
Commands( "VARCHAR", 0, 0, 0, ""),
952
Commands( "VARCHARACTER", 0, 0, 0, ""),
953
Commands( "VARIABLES", 0, 0, 0, ""),
954
Commands( "VARYING", 0, 0, 0, ""),
955
Commands( "WARNINGS", 0, 0, 0, ""),
956
Commands( "WEEK", 0, 0, 0, ""),
957
Commands( "WHEN", 0, 0, 0, ""),
958
Commands( "WHERE", 0, 0, 0, ""),
959
Commands( "WHILE", 0, 0, 0, ""),
960
Commands( "VIEW", 0, 0, 0, ""),
961
Commands( "WITH", 0, 0, 0, ""),
962
Commands( "WORK", 0, 0, 0, ""),
963
Commands( "WRITE", 0, 0, 0, ""),
964
Commands( "XOR", 0, 0, 0, ""),
965
Commands( "XA", 0, 0, 0, ""),
966
Commands( "YEAR", 0, 0, 0, ""),
967
Commands( "YEAR_MONTH", 0, 0, 0, ""),
968
Commands( "ZEROFILL", 0, 0, 0, ""),
969
Commands( "ABS", 0, 0, 0, ""),
970
Commands( "ACOS", 0, 0, 0, ""),
971
Commands( "ADDDATE", 0, 0, 0, ""),
972
Commands( "AREA", 0, 0, 0, ""),
973
Commands( "ASIN", 0, 0, 0, ""),
974
Commands( "ASBINARY", 0, 0, 0, ""),
975
Commands( "ASTEXT", 0, 0, 0, ""),
976
Commands( "ATAN", 0, 0, 0, ""),
977
Commands( "ATAN2", 0, 0, 0, ""),
978
Commands( "BENCHMARK", 0, 0, 0, ""),
979
Commands( "BIN", 0, 0, 0, ""),
980
Commands( "BIT_OR", 0, 0, 0, ""),
981
Commands( "BIT_AND", 0, 0, 0, ""),
982
Commands( "BIT_XOR", 0, 0, 0, ""),
983
Commands( "CAST", 0, 0, 0, ""),
984
Commands( "CEIL", 0, 0, 0, ""),
985
Commands( "CEILING", 0, 0, 0, ""),
986
Commands( "CENTROID", 0, 0, 0, ""),
987
Commands( "CHAR_LENGTH", 0, 0, 0, ""),
988
Commands( "CHARACTER_LENGTH", 0, 0, 0, ""),
989
Commands( "COALESCE", 0, 0, 0, ""),
990
Commands( "COERCIBILITY", 0, 0, 0, ""),
991
Commands( "COMPRESS", 0, 0, 0, ""),
992
Commands( "CONCAT", 0, 0, 0, ""),
993
Commands( "CONCAT_WS", 0, 0, 0, ""),
994
Commands( "CONNECTION_ID", 0, 0, 0, ""),
995
Commands( "CONV", 0, 0, 0, ""),
996
Commands( "CONVERT_TZ", 0, 0, 0, ""),
997
Commands( "COUNT", 0, 0, 0, ""),
998
Commands( "COS", 0, 0, 0, ""),
999
Commands( "COT", 0, 0, 0, ""),
1000
Commands( "CRC32", 0, 0, 0, ""),
1001
Commands( "CROSSES", 0, 0, 0, ""),
1002
Commands( "CURDATE", 0, 0, 0, ""),
1003
Commands( "DATE_ADD", 0, 0, 0, ""),
1004
Commands( "DATEDIFF", 0, 0, 0, ""),
1005
Commands( "DATE_FORMAT", 0, 0, 0, ""),
1006
Commands( "DATE_SUB", 0, 0, 0, ""),
1007
Commands( "DAYNAME", 0, 0, 0, ""),
1008
Commands( "DAYOFMONTH", 0, 0, 0, ""),
1009
Commands( "DAYOFWEEK", 0, 0, 0, ""),
1010
Commands( "DAYOFYEAR", 0, 0, 0, ""),
1011
Commands( "DECODE", 0, 0, 0, ""),
1012
Commands( "DEGREES", 0, 0, 0, ""),
1013
Commands( "DES_ENCRYPT", 0, 0, 0, ""),
1014
Commands( "DES_DECRYPT", 0, 0, 0, ""),
1015
Commands( "DIMENSION", 0, 0, 0, ""),
1016
Commands( "DISJOINT", 0, 0, 0, ""),
1017
Commands( "ELT", 0, 0, 0, ""),
1018
Commands( "ENCODE", 0, 0, 0, ""),
1019
Commands( "ENCRYPT", 0, 0, 0, ""),
1020
Commands( "ENDPOINT", 0, 0, 0, ""),
1021
Commands( "ENVELOPE", 0, 0, 0, ""),
1022
Commands( "EQUALS", 0, 0, 0, ""),
1023
Commands( "EXTERIORRING", 0, 0, 0, ""),
1024
Commands( "EXTRACT", 0, 0, 0, ""),
1025
Commands( "EXP", 0, 0, 0, ""),
1026
Commands( "EXPORT_SET", 0, 0, 0, ""),
1027
Commands( "FIELD", 0, 0, 0, ""),
1028
Commands( "FIND_IN_SET", 0, 0, 0, ""),
1029
Commands( "FLOOR", 0, 0, 0, ""),
1030
Commands( "FORMAT", 0, 0, 0, ""),
1031
Commands( "FOUND_ROWS", 0, 0, 0, ""),
1032
Commands( "FROM_DAYS", 0, 0, 0, ""),
1033
Commands( "FROM_UNIXTIME", 0, 0, 0, ""),
1034
Commands( "GET_LOCK", 0, 0, 0, ""),
1035
Commands( "GLENGTH", 0, 0, 0, ""),
1036
Commands( "GREATEST", 0, 0, 0, ""),
1037
Commands( "GROUP_CONCAT", 0, 0, 0, ""),
1038
Commands( "GROUP_UNIQUE_USERS", 0, 0, 0, ""),
1039
Commands( "HEX", 0, 0, 0, ""),
1040
Commands( "IFNULL", 0, 0, 0, ""),
1041
Commands( "INSTR", 0, 0, 0, ""),
1042
Commands( "INTERIORRINGN", 0, 0, 0, ""),
1043
Commands( "INTERSECTS", 0, 0, 0, ""),
1044
Commands( "ISCLOSED", 0, 0, 0, ""),
1045
Commands( "ISEMPTY", 0, 0, 0, ""),
1046
Commands( "ISNULL", 0, 0, 0, ""),
1047
Commands( "IS_FREE_LOCK", 0, 0, 0, ""),
1048
Commands( "IS_USED_LOCK", 0, 0, 0, ""),
1049
Commands( "LAST_INSERT_ID", 0, 0, 0, ""),
1050
Commands( "ISSIMPLE", 0, 0, 0, ""),
1051
Commands( "LAST_DAY", 0, 0, 0, ""),
1052
Commands( "LCASE", 0, 0, 0, ""),
1053
Commands( "LEAST", 0, 0, 0, ""),
1054
Commands( "LENGTH", 0, 0, 0, ""),
1055
Commands( "LN", 0, 0, 0, ""),
1056
Commands( "LOAD_FILE", 0, 0, 0, ""),
1057
Commands( "LOCATE", 0, 0, 0, ""),
1058
Commands( "LOG", 0, 0, 0, ""),
1059
Commands( "LOG2", 0, 0, 0, ""),
1060
Commands( "LOG10", 0, 0, 0, ""),
1061
Commands( "LOWER", 0, 0, 0, ""),
1062
Commands( "LPAD", 0, 0, 0, ""),
1063
Commands( "LTRIM", 0, 0, 0, ""),
1064
Commands( "MAKE_SET", 0, 0, 0, ""),
1065
Commands( "MAKEDATE", 0, 0, 0, ""),
1066
Commands( "MASTER_POS_WAIT", 0, 0, 0, ""),
1067
Commands( "MAX", 0, 0, 0, ""),
1068
Commands( "MBRCONTAINS", 0, 0, 0, ""),
1069
Commands( "MBRDISJOINT", 0, 0, 0, ""),
1070
Commands( "MBREQUAL", 0, 0, 0, ""),
1071
Commands( "MBRINTERSECTS", 0, 0, 0, ""),
1072
Commands( "MBROVERLAPS", 0, 0, 0, ""),
1073
Commands( "MBRTOUCHES", 0, 0, 0, ""),
1074
Commands( "MBRWITHIN", 0, 0, 0, ""),
1075
Commands( "MD5", 0, 0, 0, ""),
1076
Commands( "MID", 0, 0, 0, ""),
1077
Commands( "MIN", 0, 0, 0, ""),
1078
Commands( "MONTHNAME", 0, 0, 0, ""),
1079
Commands( "NAME_CONST", 0, 0, 0, ""),
1080
Commands( "NOW", 0, 0, 0, ""),
1081
Commands( "NULLIF", 0, 0, 0, ""),
1082
Commands( "NUMPOINTS", 0, 0, 0, ""),
1083
Commands( "OCTET_LENGTH", 0, 0, 0, ""),
1084
Commands( "OCT", 0, 0, 0, ""),
1085
Commands( "ORD", 0, 0, 0, ""),
1086
Commands( "OVERLAPS", 0, 0, 0, ""),
1087
Commands( "PERIOD_ADD", 0, 0, 0, ""),
1088
Commands( "PERIOD_DIFF", 0, 0, 0, ""),
1089
Commands( "PI", 0, 0, 0, ""),
1090
Commands( "POINTN", 0, 0, 0, ""),
1091
Commands( "POSITION", 0, 0, 0, ""),
1092
Commands( "POW", 0, 0, 0, ""),
1093
Commands( "POWER", 0, 0, 0, ""),
1094
Commands( "QUOTE", 0, 0, 0, ""),
1095
Commands( "RADIANS", 0, 0, 0, ""),
1096
Commands( "RAND", 0, 0, 0, ""),
1097
Commands( "RELEASE_LOCK", 0, 0, 0, ""),
1098
Commands( "REVERSE", 0, 0, 0, ""),
1099
Commands( "ROUND", 0, 0, 0, ""),
1100
Commands( "ROW_COUNT", 0, 0, 0, ""),
1101
Commands( "RPAD", 0, 0, 0, ""),
1102
Commands( "RTRIM", 0, 0, 0, ""),
1103
Commands( "SESSION_USER", 0, 0, 0, ""),
1104
Commands( "SUBDATE", 0, 0, 0, ""),
1105
Commands( "SIGN", 0, 0, 0, ""),
1106
Commands( "SIN", 0, 0, 0, ""),
1107
Commands( "SHA", 0, 0, 0, ""),
1108
Commands( "SHA1", 0, 0, 0, ""),
1109
Commands( "SLEEP", 0, 0, 0, ""),
1110
Commands( "SOUNDEX", 0, 0, 0, ""),
1111
Commands( "SPACE", 0, 0, 0, ""),
1112
Commands( "SQRT", 0, 0, 0, ""),
1113
Commands( "SRID", 0, 0, 0, ""),
1114
Commands( "STARTPOINT", 0, 0, 0, ""),
1115
Commands( "STD", 0, 0, 0, ""),
1116
Commands( "STDDEV", 0, 0, 0, ""),
1117
Commands( "STDDEV_POP", 0, 0, 0, ""),
1118
Commands( "STDDEV_SAMP", 0, 0, 0, ""),
1119
Commands( "STR_TO_DATE", 0, 0, 0, ""),
1120
Commands( "STRCMP", 0, 0, 0, ""),
1121
Commands( "SUBSTR", 0, 0, 0, ""),
1122
Commands( "SUBSTRING", 0, 0, 0, ""),
1123
Commands( "SUBSTRING_INDEX", 0, 0, 0, ""),
1124
Commands( "SUM", 0, 0, 0, ""),
1125
Commands( "SYSDATE", 0, 0, 0, ""),
1126
Commands( "SYSTEM_USER", 0, 0, 0, ""),
1127
Commands( "TAN", 0, 0, 0, ""),
1128
Commands( "TIME_FORMAT", 0, 0, 0, ""),
1129
Commands( "TO_DAYS", 0, 0, 0, ""),
1130
Commands( "TOUCHES", 0, 0, 0, ""),
1131
Commands( "TRIM", 0, 0, 0, ""),
1132
Commands( "UCASE", 0, 0, 0, ""),
1133
Commands( "UNCOMPRESS", 0, 0, 0, ""),
1134
Commands( "UNCOMPRESSED_LENGTH", 0, 0, 0, ""),
1135
Commands( "UNHEX", 0, 0, 0, ""),
1136
Commands( "UNIQUE_USERS", 0, 0, 0, ""),
1137
Commands( "UNIX_TIMESTAMP", 0, 0, 0, ""),
1138
Commands( "UPPER", 0, 0, 0, ""),
1139
Commands( "UUID", 0, 0, 0, ""),
1140
Commands( "VARIANCE", 0, 0, 0, ""),
1141
Commands( "VAR_POP", 0, 0, 0, ""),
1142
Commands( "VAR_SAMP", 0, 0, 0, ""),
1143
Commands( "VERSION", 0, 0, 0, ""),
1144
Commands( "WEEKDAY", 0, 0, 0, ""),
1145
Commands( "WEEKOFYEAR", 0, 0, 0, ""),
1146
Commands( "WITHIN", 0, 0, 0, ""),
1147
Commands( "X", 0, 0, 0, ""),
1148
Commands( "Y", 0, 0, 0, ""),
1149
Commands( "YEARWEEK", 0, 0, 0, ""),
316
{ "ACTION", 0, 0, 0, ""},
317
{ "ADD", 0, 0, 0, ""},
318
{ "AFTER", 0, 0, 0, ""},
319
{ "AGAINST", 0, 0, 0, ""},
320
{ "AGGREGATE", 0, 0, 0, ""},
321
{ "ALL", 0, 0, 0, ""},
322
{ "ALGORITHM", 0, 0, 0, ""},
323
{ "ALTER", 0, 0, 0, ""},
324
{ "ANALYZE", 0, 0, 0, ""},
325
{ "AND", 0, 0, 0, ""},
326
{ "ANY", 0, 0, 0, ""},
327
{ "AS", 0, 0, 0, ""},
328
{ "ASC", 0, 0, 0, ""},
329
{ "ASCII", 0, 0, 0, ""},
330
{ "ASENSITIVE", 0, 0, 0, ""},
331
{ "AUTO_INCREMENT", 0, 0, 0, ""},
332
{ "AVG", 0, 0, 0, ""},
333
{ "AVG_ROW_LENGTH", 0, 0, 0, ""},
334
{ "BACKUP", 0, 0, 0, ""},
335
{ "BDB", 0, 0, 0, ""},
336
{ "BEFORE", 0, 0, 0, ""},
337
{ "BEGIN", 0, 0, 0, ""},
338
{ "BERKELEYDB", 0, 0, 0, ""},
339
{ "BETWEEN", 0, 0, 0, ""},
340
{ "BIGINT", 0, 0, 0, ""},
341
{ "BINARY", 0, 0, 0, ""},
342
{ "BINLOG", 0, 0, 0, ""},
343
{ "BIT", 0, 0, 0, ""},
344
{ "BLOB", 0, 0, 0, ""},
345
{ "BOOL", 0, 0, 0, ""},
346
{ "BOOLEAN", 0, 0, 0, ""},
347
{ "BOTH", 0, 0, 0, ""},
348
{ "BTREE", 0, 0, 0, ""},
349
{ "BY", 0, 0, 0, ""},
350
{ "BYTE", 0, 0, 0, ""},
351
{ "CACHE", 0, 0, 0, ""},
352
{ "CALL", 0, 0, 0, ""},
353
{ "CASCADE", 0, 0, 0, ""},
354
{ "CASCADED", 0, 0, 0, ""},
355
{ "CASE", 0, 0, 0, ""},
356
{ "CHAIN", 0, 0, 0, ""},
357
{ "CHANGE", 0, 0, 0, ""},
358
{ "CHANGED", 0, 0, 0, ""},
359
{ "CHAR", 0, 0, 0, ""},
360
{ "CHARACTER", 0, 0, 0, ""},
361
{ "CHARSET", 0, 0, 0, ""},
362
{ "CHECK", 0, 0, 0, ""},
363
{ "CHECKSUM", 0, 0, 0, ""},
364
{ "CIPHER", 0, 0, 0, ""},
365
{ "CLIENT", 0, 0, 0, ""},
366
{ "CLOSE", 0, 0, 0, ""},
367
{ "CODE", 0, 0, 0, ""},
368
{ "COLLATE", 0, 0, 0, ""},
369
{ "COLLATION", 0, 0, 0, ""},
370
{ "COLUMN", 0, 0, 0, ""},
371
{ "COLUMNS", 0, 0, 0, ""},
372
{ "COMMENT", 0, 0, 0, ""},
373
{ "COMMIT", 0, 0, 0, ""},
374
{ "COMMITTED", 0, 0, 0, ""},
375
{ "COMPACT", 0, 0, 0, ""},
376
{ "COMPRESSED", 0, 0, 0, ""},
377
{ "CONCURRENT", 0, 0, 0, ""},
378
{ "CONDITION", 0, 0, 0, ""},
379
{ "CONNECTION", 0, 0, 0, ""},
380
{ "CONSISTENT", 0, 0, 0, ""},
381
{ "CONSTRAINT", 0, 0, 0, ""},
382
{ "CONTAINS", 0, 0, 0, ""},
383
{ "CONTINUE", 0, 0, 0, ""},
384
{ "CONVERT", 0, 0, 0, ""},
385
{ "CREATE", 0, 0, 0, ""},
386
{ "CROSS", 0, 0, 0, ""},
387
{ "CUBE", 0, 0, 0, ""},
388
{ "CURRENT_DATE", 0, 0, 0, ""},
389
{ "CURRENT_TIMESTAMP", 0, 0, 0, ""},
390
{ "CURRENT_USER", 0, 0, 0, ""},
391
{ "CURSOR", 0, 0, 0, ""},
392
{ "DATA", 0, 0, 0, ""},
393
{ "DATABASE", 0, 0, 0, ""},
394
{ "DATABASES", 0, 0, 0, ""},
395
{ "DATE", 0, 0, 0, ""},
396
{ "DATETIME", 0, 0, 0, ""},
397
{ "DAY", 0, 0, 0, ""},
398
{ "DAY_HOUR", 0, 0, 0, ""},
399
{ "DAY_MICROSECOND", 0, 0, 0, ""},
400
{ "DAY_MINUTE", 0, 0, 0, ""},
401
{ "DAY_SECOND", 0, 0, 0, ""},
402
{ "DEALLOCATE", 0, 0, 0, ""},
403
{ "DEC", 0, 0, 0, ""},
404
{ "DECIMAL", 0, 0, 0, ""},
405
{ "DECLARE", 0, 0, 0, ""},
406
{ "DEFAULT", 0, 0, 0, ""},
407
{ "DEFINER", 0, 0, 0, ""},
408
{ "DELAYED", 0, 0, 0, ""},
409
{ "DELAY_KEY_WRITE", 0, 0, 0, ""},
410
{ "DELETE", 0, 0, 0, ""},
411
{ "DESC", 0, 0, 0, ""},
412
{ "DESCRIBE", 0, 0, 0, ""},
413
{ "DES_KEY_FILE", 0, 0, 0, ""},
414
{ "DETERMINISTIC", 0, 0, 0, ""},
415
{ "DIRECTORY", 0, 0, 0, ""},
416
{ "DISABLE", 0, 0, 0, ""},
417
{ "DISCARD", 0, 0, 0, ""},
418
{ "DISTINCT", 0, 0, 0, ""},
419
{ "DISTINCTROW", 0, 0, 0, ""},
420
{ "DIV", 0, 0, 0, ""},
421
{ "DO", 0, 0, 0, ""},
422
{ "DOUBLE", 0, 0, 0, ""},
423
{ "DROP", 0, 0, 0, ""},
424
{ "DUAL", 0, 0, 0, ""},
425
{ "DUMPFILE", 0, 0, 0, ""},
426
{ "DUPLICATE", 0, 0, 0, ""},
427
{ "DYNAMIC", 0, 0, 0, ""},
428
{ "EACH", 0, 0, 0, ""},
429
{ "ELSE", 0, 0, 0, ""},
430
{ "ELSEIF", 0, 0, 0, ""},
431
{ "ENABLE", 0, 0, 0, ""},
432
{ "ENCLOSED", 0, 0, 0, ""},
433
{ "END", 0, 0, 0, ""},
434
{ "ENGINE", 0, 0, 0, ""},
435
{ "ENGINES", 0, 0, 0, ""},
436
{ "ENUM", 0, 0, 0, ""},
437
{ "ERRORS", 0, 0, 0, ""},
438
{ "ESCAPE", 0, 0, 0, ""},
439
{ "ESCAPED", 0, 0, 0, ""},
440
{ "EVENTS", 0, 0, 0, ""},
441
{ "EXECUTE", 0, 0, 0, ""},
442
{ "EXISTS", 0, 0, 0, ""},
443
{ "EXIT", 0, 0, 0, ""},
444
{ "EXPANSION", 0, 0, 0, ""},
445
{ "EXPLAIN", 0, 0, 0, ""},
446
{ "EXTENDED", 0, 0, 0, ""},
447
{ "FALSE", 0, 0, 0, ""},
448
{ "FAST", 0, 0, 0, ""},
449
{ "FETCH", 0, 0, 0, ""},
450
{ "FIELDS", 0, 0, 0, ""},
451
{ "FILE", 0, 0, 0, ""},
452
{ "FIRST", 0, 0, 0, ""},
453
{ "FIXED", 0, 0, 0, ""},
454
{ "FLOAT", 0, 0, 0, ""},
455
{ "FLOAT4", 0, 0, 0, ""},
456
{ "FLOAT8", 0, 0, 0, ""},
457
{ "FLUSH", 0, 0, 0, ""},
458
{ "FOR", 0, 0, 0, ""},
459
{ "FORCE", 0, 0, 0, ""},
460
{ "FOREIGN", 0, 0, 0, ""},
461
{ "FOUND", 0, 0, 0, ""},
462
{ "FRAC_SECOND", 0, 0, 0, ""},
463
{ "FROM", 0, 0, 0, ""},
464
{ "FULL", 0, 0, 0, ""},
465
{ "FULLTEXT", 0, 0, 0, ""},
466
{ "FUNCTION", 0, 0, 0, ""},
467
{ "GLOBAL", 0, 0, 0, ""},
468
{ "GRANT", 0, 0, 0, ""},
469
{ "GRANTS", 0, 0, 0, ""},
470
{ "GROUP", 0, 0, 0, ""},
471
{ "HANDLER", 0, 0, 0, ""},
472
{ "HASH", 0, 0, 0, ""},
473
{ "HAVING", 0, 0, 0, ""},
474
{ "HELP", 0, 0, 0, ""},
475
{ "HIGH_PRIORITY", 0, 0, 0, ""},
476
{ "HOSTS", 0, 0, 0, ""},
477
{ "HOUR", 0, 0, 0, ""},
478
{ "HOUR_MICROSECOND", 0, 0, 0, ""},
479
{ "HOUR_MINUTE", 0, 0, 0, ""},
480
{ "HOUR_SECOND", 0, 0, 0, ""},
481
{ "IDENTIFIED", 0, 0, 0, ""},
482
{ "IF", 0, 0, 0, ""},
483
{ "IGNORE", 0, 0, 0, ""},
484
{ "IMPORT", 0, 0, 0, ""},
485
{ "IN", 0, 0, 0, ""},
486
{ "INDEX", 0, 0, 0, ""},
487
{ "INDEXES", 0, 0, 0, ""},
488
{ "INFILE", 0, 0, 0, ""},
489
{ "INNER", 0, 0, 0, ""},
490
{ "INNOBASE", 0, 0, 0, ""},
491
{ "INNODB", 0, 0, 0, ""},
492
{ "INOUT", 0, 0, 0, ""},
493
{ "INSENSITIVE", 0, 0, 0, ""},
494
{ "INSERT", 0, 0, 0, ""},
495
{ "INSERT_METHOD", 0, 0, 0, ""},
496
{ "INT", 0, 0, 0, ""},
497
{ "INT1", 0, 0, 0, ""},
498
{ "INT2", 0, 0, 0, ""},
499
{ "INT3", 0, 0, 0, ""},
500
{ "INT4", 0, 0, 0, ""},
501
{ "INT8", 0, 0, 0, ""},
502
{ "INTEGER", 0, 0, 0, ""},
503
{ "INTERVAL", 0, 0, 0, ""},
504
{ "INTO", 0, 0, 0, ""},
505
{ "IO_THREAD", 0, 0, 0, ""},
506
{ "IS", 0, 0, 0, ""},
507
{ "ISOLATION", 0, 0, 0, ""},
508
{ "ISSUER", 0, 0, 0, ""},
509
{ "ITERATE", 0, 0, 0, ""},
510
{ "INVOKER", 0, 0, 0, ""},
511
{ "JOIN", 0, 0, 0, ""},
512
{ "KEY", 0, 0, 0, ""},
513
{ "KEYS", 0, 0, 0, ""},
514
{ "KILL", 0, 0, 0, ""},
515
{ "LANGUAGE", 0, 0, 0, ""},
516
{ "LAST", 0, 0, 0, ""},
517
{ "LEADING", 0, 0, 0, ""},
518
{ "LEAVE", 0, 0, 0, ""},
519
{ "LEAVES", 0, 0, 0, ""},
520
{ "LEFT", 0, 0, 0, ""},
521
{ "LEVEL", 0, 0, 0, ""},
522
{ "LIKE", 0, 0, 0, ""},
523
{ "LIMIT", 0, 0, 0, ""},
524
{ "LINES", 0, 0, 0, ""},
525
{ "LINESTRING", 0, 0, 0, ""},
526
{ "LOAD", 0, 0, 0, ""},
527
{ "LOCAL", 0, 0, 0, ""},
528
{ "LOCALTIMESTAMP", 0, 0, 0, ""},
529
{ "LOCK", 0, 0, 0, ""},
530
{ "LOCKS", 0, 0, 0, ""},
531
{ "LOGS", 0, 0, 0, ""},
532
{ "LONG", 0, 0, 0, ""},
533
{ "LONGTEXT", 0, 0, 0, ""},
534
{ "LOOP", 0, 0, 0, ""},
535
{ "LOW_PRIORITY", 0, 0, 0, ""},
536
{ "MASTER", 0, 0, 0, ""},
537
{ "MASTER_CONNECT_RETRY", 0, 0, 0, ""},
538
{ "MASTER_HOST", 0, 0, 0, ""},
539
{ "MASTER_LOG_FILE", 0, 0, 0, ""},
540
{ "MASTER_LOG_POS", 0, 0, 0, ""},
541
{ "MASTER_PASSWORD", 0, 0, 0, ""},
542
{ "MASTER_PORT", 0, 0, 0, ""},
543
{ "MASTER_SERVER_ID", 0, 0, 0, ""},
544
{ "MASTER_SSL", 0, 0, 0, ""},
545
{ "MASTER_SSL_CA", 0, 0, 0, ""},
546
{ "MASTER_SSL_CAPATH", 0, 0, 0, ""},
547
{ "MASTER_SSL_CERT", 0, 0, 0, ""},
548
{ "MASTER_SSL_CIPHER", 0, 0, 0, ""},
549
{ "MASTER_SSL_KEY", 0, 0, 0, ""},
550
{ "MASTER_USER", 0, 0, 0, ""},
551
{ "MATCH", 0, 0, 0, ""},
552
{ "MAX_CONNECTIONS_PER_HOUR", 0, 0, 0, ""},
553
{ "MAX_QUERIES_PER_HOUR", 0, 0, 0, ""},
554
{ "MAX_ROWS", 0, 0, 0, ""},
555
{ "MAX_UPDATES_PER_HOUR", 0, 0, 0, ""},
556
{ "MAX_USER_CONNECTIONS", 0, 0, 0, ""},
557
{ "MEDIUM", 0, 0, 0, ""},
558
{ "MEDIUMTEXT", 0, 0, 0, ""},
559
{ "MERGE", 0, 0, 0, ""},
560
{ "MICROSECOND", 0, 0, 0, ""},
561
{ "MIDDLEINT", 0, 0, 0, ""},
562
{ "MIGRATE", 0, 0, 0, ""},
563
{ "MINUTE", 0, 0, 0, ""},
564
{ "MINUTE_MICROSECOND", 0, 0, 0, ""},
565
{ "MINUTE_SECOND", 0, 0, 0, ""},
566
{ "MIN_ROWS", 0, 0, 0, ""},
567
{ "MOD", 0, 0, 0, ""},
568
{ "MODE", 0, 0, 0, ""},
569
{ "MODIFIES", 0, 0, 0, ""},
570
{ "MODIFY", 0, 0, 0, ""},
571
{ "MONTH", 0, 0, 0, ""},
572
{ "MULTILINESTRING", 0, 0, 0, ""},
573
{ "MULTIPOINT", 0, 0, 0, ""},
574
{ "MULTIPOLYGON", 0, 0, 0, ""},
575
{ "MUTEX", 0, 0, 0, ""},
576
{ "NAME", 0, 0, 0, ""},
577
{ "NAMES", 0, 0, 0, ""},
578
{ "NATIONAL", 0, 0, 0, ""},
579
{ "NATURAL", 0, 0, 0, ""},
580
{ "NDB", 0, 0, 0, ""},
581
{ "NDBCLUSTER", 0, 0, 0, ""},
582
{ "NCHAR", 0, 0, 0, ""},
583
{ "NEW", 0, 0, 0, ""},
584
{ "NEXT", 0, 0, 0, ""},
585
{ "NO", 0, 0, 0, ""},
586
{ "NONE", 0, 0, 0, ""},
587
{ "NOT", 0, 0, 0, ""},
588
{ "NO_WRITE_TO_BINLOG", 0, 0, 0, ""},
589
{ "NULL", 0, 0, 0, ""},
590
{ "NUMERIC", 0, 0, 0, ""},
591
{ "NVARCHAR", 0, 0, 0, ""},
592
{ "OFFSET", 0, 0, 0, ""},
593
{ "OLD_PASSWORD", 0, 0, 0, ""},
594
{ "ON", 0, 0, 0, ""},
595
{ "ONE", 0, 0, 0, ""},
596
{ "ONE_SHOT", 0, 0, 0, ""},
597
{ "OPEN", 0, 0, 0, ""},
598
{ "OPTIMIZE", 0, 0, 0, ""},
599
{ "OPTION", 0, 0, 0, ""},
600
{ "OPTIONALLY", 0, 0, 0, ""},
601
{ "OR", 0, 0, 0, ""},
602
{ "ORDER", 0, 0, 0, ""},
603
{ "OUT", 0, 0, 0, ""},
604
{ "OUTER", 0, 0, 0, ""},
605
{ "OUTFILE", 0, 0, 0, ""},
606
{ "PACK_KEYS", 0, 0, 0, ""},
607
{ "PARTIAL", 0, 0, 0, ""},
608
{ "PASSWORD", 0, 0, 0, ""},
609
{ "PHASE", 0, 0, 0, ""},
610
{ "POINT", 0, 0, 0, ""},
611
{ "POLYGON", 0, 0, 0, ""},
612
{ "PRECISION", 0, 0, 0, ""},
613
{ "PREPARE", 0, 0, 0, ""},
614
{ "PREV", 0, 0, 0, ""},
615
{ "PRIMARY", 0, 0, 0, ""},
616
{ "PRIVILEGES", 0, 0, 0, ""},
617
{ "PROCEDURE", 0, 0, 0, ""},
618
{ "PROCESS", 0, 0, 0, ""},
619
{ "PROCESSLIST", 0, 0, 0, ""},
620
{ "PURGE", 0, 0, 0, ""},
621
{ "QUARTER", 0, 0, 0, ""},
622
{ "QUERY", 0, 0, 0, ""},
623
{ "QUICK", 0, 0, 0, ""},
624
{ "READ", 0, 0, 0, ""},
625
{ "READS", 0, 0, 0, ""},
626
{ "REAL", 0, 0, 0, ""},
627
{ "RECOVER", 0, 0, 0, ""},
628
{ "REDUNDANT", 0, 0, 0, ""},
629
{ "REFERENCES", 0, 0, 0, ""},
630
{ "REGEXP", 0, 0, 0, ""},
631
{ "RELAY_LOG_FILE", 0, 0, 0, ""},
632
{ "RELAY_LOG_POS", 0, 0, 0, ""},
633
{ "RELAY_THREAD", 0, 0, 0, ""},
634
{ "RELEASE", 0, 0, 0, ""},
635
{ "RELOAD", 0, 0, 0, ""},
636
{ "RENAME", 0, 0, 0, ""},
637
{ "REPAIR", 0, 0, 0, ""},
638
{ "REPEATABLE", 0, 0, 0, ""},
639
{ "REPLACE", 0, 0, 0, ""},
640
{ "REPLICATION", 0, 0, 0, ""},
641
{ "REPEAT", 0, 0, 0, ""},
642
{ "REQUIRE", 0, 0, 0, ""},
643
{ "RESET", 0, 0, 0, ""},
644
{ "RESTORE", 0, 0, 0, ""},
645
{ "RESTRICT", 0, 0, 0, ""},
646
{ "RESUME", 0, 0, 0, ""},
647
{ "RETURN", 0, 0, 0, ""},
648
{ "RETURNS", 0, 0, 0, ""},
649
{ "REVOKE", 0, 0, 0, ""},
650
{ "RIGHT", 0, 0, 0, ""},
651
{ "RLIKE", 0, 0, 0, ""},
652
{ "ROLLBACK", 0, 0, 0, ""},
653
{ "ROLLUP", 0, 0, 0, ""},
654
{ "ROUTINE", 0, 0, 0, ""},
655
{ "ROW", 0, 0, 0, ""},
656
{ "ROWS", 0, 0, 0, ""},
657
{ "ROW_FORMAT", 0, 0, 0, ""},
658
{ "RTREE", 0, 0, 0, ""},
659
{ "SAVEPOINT", 0, 0, 0, ""},
660
{ "SCHEMA", 0, 0, 0, ""},
661
{ "SCHEMAS", 0, 0, 0, ""},
662
{ "SECOND", 0, 0, 0, ""},
663
{ "SECOND_MICROSECOND", 0, 0, 0, ""},
664
{ "SECURITY", 0, 0, 0, ""},
665
{ "SELECT", 0, 0, 0, ""},
666
{ "SENSITIVE", 0, 0, 0, ""},
667
{ "SEPARATOR", 0, 0, 0, ""},
668
{ "SERIAL", 0, 0, 0, ""},
669
{ "SERIALIZABLE", 0, 0, 0, ""},
670
{ "SESSION", 0, 0, 0, ""},
671
{ "SET", 0, 0, 0, ""},
672
{ "SHARE", 0, 0, 0, ""},
673
{ "SHOW", 0, 0, 0, ""},
674
{ "SHUTDOWN", 0, 0, 0, ""},
675
{ "SIGNED", 0, 0, 0, ""},
676
{ "SIMPLE", 0, 0, 0, ""},
677
{ "SLAVE", 0, 0, 0, ""},
678
{ "SNAPSHOT", 0, 0, 0, ""},
679
{ "SMALLINT", 0, 0, 0, ""},
680
{ "SOME", 0, 0, 0, ""},
681
{ "SONAME", 0, 0, 0, ""},
682
{ "SOUNDS", 0, 0, 0, ""},
683
{ "SPATIAL", 0, 0, 0, ""},
684
{ "SPECIFIC", 0, 0, 0, ""},
685
{ "SQL", 0, 0, 0, ""},
686
{ "SQLEXCEPTION", 0, 0, 0, ""},
687
{ "SQLSTATE", 0, 0, 0, ""},
688
{ "SQLWARNING", 0, 0, 0, ""},
689
{ "SQL_BIG_RESULT", 0, 0, 0, ""},
690
{ "SQL_BUFFER_RESULT", 0, 0, 0, ""},
691
{ "SQL_CACHE", 0, 0, 0, ""},
692
{ "SQL_CALC_FOUND_ROWS", 0, 0, 0, ""},
693
{ "SQL_NO_CACHE", 0, 0, 0, ""},
694
{ "SQL_SMALL_RESULT", 0, 0, 0, ""},
695
{ "SQL_THREAD", 0, 0, 0, ""},
696
{ "SQL_TSI_FRAC_SECOND", 0, 0, 0, ""},
697
{ "SQL_TSI_SECOND", 0, 0, 0, ""},
698
{ "SQL_TSI_MINUTE", 0, 0, 0, ""},
699
{ "SQL_TSI_HOUR", 0, 0, 0, ""},
700
{ "SQL_TSI_DAY", 0, 0, 0, ""},
701
{ "SQL_TSI_WEEK", 0, 0, 0, ""},
702
{ "SQL_TSI_MONTH", 0, 0, 0, ""},
703
{ "SQL_TSI_QUARTER", 0, 0, 0, ""},
704
{ "SQL_TSI_YEAR", 0, 0, 0, ""},
705
{ "SSL", 0, 0, 0, ""},
706
{ "START", 0, 0, 0, ""},
707
{ "STARTING", 0, 0, 0, ""},
708
{ "STATUS", 0, 0, 0, ""},
709
{ "STOP", 0, 0, 0, ""},
710
{ "STORAGE", 0, 0, 0, ""},
711
{ "STRAIGHT_JOIN", 0, 0, 0, ""},
712
{ "STRING", 0, 0, 0, ""},
713
{ "STRIPED", 0, 0, 0, ""},
714
{ "SUBJECT", 0, 0, 0, ""},
715
{ "SUPER", 0, 0, 0, ""},
716
{ "SUSPEND", 0, 0, 0, ""},
717
{ "TABLE", 0, 0, 0, ""},
718
{ "TABLES", 0, 0, 0, ""},
719
{ "TABLESPACE", 0, 0, 0, ""},
720
{ "TEMPORARY", 0, 0, 0, ""},
721
{ "TEMPTABLE", 0, 0, 0, ""},
722
{ "TERMINATED", 0, 0, 0, ""},
723
{ "TEXT", 0, 0, 0, ""},
724
{ "THEN", 0, 0, 0, ""},
725
{ "TIMESTAMP", 0, 0, 0, ""},
726
{ "TIMESTAMPADD", 0, 0, 0, ""},
727
{ "TIMESTAMPDIFF", 0, 0, 0, ""},
728
{ "TINYINT", 0, 0, 0, ""},
729
{ "TINYTEXT", 0, 0, 0, ""},
730
{ "TO", 0, 0, 0, ""},
731
{ "TRAILING", 0, 0, 0, ""},
732
{ "TRANSACTION", 0, 0, 0, ""},
733
{ "TRIGGER", 0, 0, 0, ""},
734
{ "TRIGGERS", 0, 0, 0, ""},
735
{ "TRUE", 0, 0, 0, ""},
736
{ "TRUNCATE", 0, 0, 0, ""},
737
{ "TYPE", 0, 0, 0, ""},
738
{ "TYPES", 0, 0, 0, ""},
739
{ "UNCOMMITTED", 0, 0, 0, ""},
740
{ "UNDEFINED", 0, 0, 0, ""},
741
{ "UNDO", 0, 0, 0, ""},
742
{ "UNICODE", 0, 0, 0, ""},
743
{ "UNION", 0, 0, 0, ""},
744
{ "UNIQUE", 0, 0, 0, ""},
745
{ "UNKNOWN", 0, 0, 0, ""},
746
{ "UNLOCK", 0, 0, 0, ""},
747
{ "UNSIGNED", 0, 0, 0, ""},
748
{ "UNTIL", 0, 0, 0, ""},
749
{ "UPDATE", 0, 0, 0, ""},
750
{ "UPGRADE", 0, 0, 0, ""},
751
{ "USAGE", 0, 0, 0, ""},
752
{ "USE", 0, 0, 0, ""},
753
{ "USER", 0, 0, 0, ""},
754
{ "USER_RESOURCES", 0, 0, 0, ""},
755
{ "USE_FRM", 0, 0, 0, ""},
756
{ "USING", 0, 0, 0, ""},
757
{ "UTC_DATE", 0, 0, 0, ""},
758
{ "UTC_TIMESTAMP", 0, 0, 0, ""},
759
{ "VALUE", 0, 0, 0, ""},
760
{ "VALUES", 0, 0, 0, ""},
761
{ "VARBINARY", 0, 0, 0, ""},
762
{ "VARCHAR", 0, 0, 0, ""},
763
{ "VARCHARACTER", 0, 0, 0, ""},
764
{ "VARIABLES", 0, 0, 0, ""},
765
{ "VARYING", 0, 0, 0, ""},
766
{ "WARNINGS", 0, 0, 0, ""},
767
{ "WEEK", 0, 0, 0, ""},
768
{ "WHEN", 0, 0, 0, ""},
769
{ "WHERE", 0, 0, 0, ""},
770
{ "WHILE", 0, 0, 0, ""},
771
{ "VIEW", 0, 0, 0, ""},
772
{ "WITH", 0, 0, 0, ""},
773
{ "WORK", 0, 0, 0, ""},
774
{ "WRITE", 0, 0, 0, ""},
775
{ "X509", 0, 0, 0, ""},
776
{ "XOR", 0, 0, 0, ""},
777
{ "XA", 0, 0, 0, ""},
778
{ "YEAR", 0, 0, 0, ""},
779
{ "YEAR_MONTH", 0, 0, 0, ""},
780
{ "ZEROFILL", 0, 0, 0, ""},
781
{ "ABS", 0, 0, 0, ""},
782
{ "ACOS", 0, 0, 0, ""},
783
{ "ADDDATE", 0, 0, 0, ""},
784
{ "AES_ENCRYPT", 0, 0, 0, ""},
785
{ "AES_DECRYPT", 0, 0, 0, ""},
786
{ "AREA", 0, 0, 0, ""},
787
{ "ASIN", 0, 0, 0, ""},
788
{ "ASBINARY", 0, 0, 0, ""},
789
{ "ASTEXT", 0, 0, 0, ""},
790
{ "ASWKB", 0, 0, 0, ""},
791
{ "ASWKT", 0, 0, 0, ""},
792
{ "ATAN", 0, 0, 0, ""},
793
{ "ATAN2", 0, 0, 0, ""},
794
{ "BENCHMARK", 0, 0, 0, ""},
795
{ "BIN", 0, 0, 0, ""},
796
{ "BIT_OR", 0, 0, 0, ""},
797
{ "BIT_AND", 0, 0, 0, ""},
798
{ "BIT_XOR", 0, 0, 0, ""},
799
{ "CAST", 0, 0, 0, ""},
800
{ "CEIL", 0, 0, 0, ""},
801
{ "CEILING", 0, 0, 0, ""},
802
{ "CENTROID", 0, 0, 0, ""},
803
{ "CHAR_LENGTH", 0, 0, 0, ""},
804
{ "CHARACTER_LENGTH", 0, 0, 0, ""},
805
{ "COALESCE", 0, 0, 0, ""},
806
{ "COERCIBILITY", 0, 0, 0, ""},
807
{ "COMPRESS", 0, 0, 0, ""},
808
{ "CONCAT", 0, 0, 0, ""},
809
{ "CONCAT_WS", 0, 0, 0, ""},
810
{ "CONNECTION_ID", 0, 0, 0, ""},
811
{ "CONV", 0, 0, 0, ""},
812
{ "CONVERT_TZ", 0, 0, 0, ""},
813
{ "COUNT", 0, 0, 0, ""},
814
{ "COS", 0, 0, 0, ""},
815
{ "COT", 0, 0, 0, ""},
816
{ "CRC32", 0, 0, 0, ""},
817
{ "CROSSES", 0, 0, 0, ""},
818
{ "CURDATE", 0, 0, 0, ""},
819
{ "DATE_ADD", 0, 0, 0, ""},
820
{ "DATEDIFF", 0, 0, 0, ""},
821
{ "DATE_FORMAT", 0, 0, 0, ""},
822
{ "DATE_SUB", 0, 0, 0, ""},
823
{ "DAYNAME", 0, 0, 0, ""},
824
{ "DAYOFMONTH", 0, 0, 0, ""},
825
{ "DAYOFWEEK", 0, 0, 0, ""},
826
{ "DAYOFYEAR", 0, 0, 0, ""},
827
{ "DECODE", 0, 0, 0, ""},
828
{ "DEGREES", 0, 0, 0, ""},
829
{ "DES_ENCRYPT", 0, 0, 0, ""},
830
{ "DES_DECRYPT", 0, 0, 0, ""},
831
{ "DIMENSION", 0, 0, 0, ""},
832
{ "DISJOINT", 0, 0, 0, ""},
833
{ "ELT", 0, 0, 0, ""},
834
{ "ENCODE", 0, 0, 0, ""},
835
{ "ENCRYPT", 0, 0, 0, ""},
836
{ "ENDPOINT", 0, 0, 0, ""},
837
{ "ENVELOPE", 0, 0, 0, ""},
838
{ "EQUALS", 0, 0, 0, ""},
839
{ "EXTERIORRING", 0, 0, 0, ""},
840
{ "EXTRACT", 0, 0, 0, ""},
841
{ "EXP", 0, 0, 0, ""},
842
{ "EXPORT_SET", 0, 0, 0, ""},
843
{ "FIELD", 0, 0, 0, ""},
844
{ "FIND_IN_SET", 0, 0, 0, ""},
845
{ "FLOOR", 0, 0, 0, ""},
846
{ "FORMAT", 0, 0, 0, ""},
847
{ "FOUND_ROWS", 0, 0, 0, ""},
848
{ "FROM_DAYS", 0, 0, 0, ""},
849
{ "FROM_UNIXTIME", 0, 0, 0, ""},
850
{ "GET_LOCK", 0, 0, 0, ""},
851
{ "GLENGTH", 0, 0, 0, ""},
852
{ "GREATEST", 0, 0, 0, ""},
853
{ "GROUP_CONCAT", 0, 0, 0, ""},
854
{ "GROUP_UNIQUE_USERS", 0, 0, 0, ""},
855
{ "HEX", 0, 0, 0, ""},
856
{ "IFNULL", 0, 0, 0, ""},
857
{ "INET_ATON", 0, 0, 0, ""},
858
{ "INET_NTOA", 0, 0, 0, ""},
859
{ "INSTR", 0, 0, 0, ""},
860
{ "INTERIORRINGN", 0, 0, 0, ""},
861
{ "INTERSECTS", 0, 0, 0, ""},
862
{ "ISCLOSED", 0, 0, 0, ""},
863
{ "ISEMPTY", 0, 0, 0, ""},
864
{ "ISNULL", 0, 0, 0, ""},
865
{ "IS_FREE_LOCK", 0, 0, 0, ""},
866
{ "IS_USED_LOCK", 0, 0, 0, ""},
867
{ "LAST_INSERT_ID", 0, 0, 0, ""},
868
{ "ISSIMPLE", 0, 0, 0, ""},
869
{ "LAST_DAY", 0, 0, 0, ""},
870
{ "LCASE", 0, 0, 0, ""},
871
{ "LEAST", 0, 0, 0, ""},
872
{ "LENGTH", 0, 0, 0, ""},
873
{ "LN", 0, 0, 0, ""},
874
{ "LINEFROMTEXT", 0, 0, 0, ""},
875
{ "LINEFROMWKB", 0, 0, 0, ""},
876
{ "LINESTRINGFROMTEXT", 0, 0, 0, ""},
877
{ "LINESTRINGFROMWKB", 0, 0, 0, ""},
878
{ "LOAD_FILE", 0, 0, 0, ""},
879
{ "LOCATE", 0, 0, 0, ""},
880
{ "LOG", 0, 0, 0, ""},
881
{ "LOG2", 0, 0, 0, ""},
882
{ "LOG10", 0, 0, 0, ""},
883
{ "LOWER", 0, 0, 0, ""},
884
{ "LPAD", 0, 0, 0, ""},
885
{ "LTRIM", 0, 0, 0, ""},
886
{ "MAKE_SET", 0, 0, 0, ""},
887
{ "MAKEDATE", 0, 0, 0, ""},
888
{ "MASTER_POS_WAIT", 0, 0, 0, ""},
889
{ "MAX", 0, 0, 0, ""},
890
{ "MBRCONTAINS", 0, 0, 0, ""},
891
{ "MBRDISJOINT", 0, 0, 0, ""},
892
{ "MBREQUAL", 0, 0, 0, ""},
893
{ "MBRINTERSECTS", 0, 0, 0, ""},
894
{ "MBROVERLAPS", 0, 0, 0, ""},
895
{ "MBRTOUCHES", 0, 0, 0, ""},
896
{ "MBRWITHIN", 0, 0, 0, ""},
897
{ "MD5", 0, 0, 0, ""},
898
{ "MID", 0, 0, 0, ""},
899
{ "MIN", 0, 0, 0, ""},
900
{ "MLINEFROMTEXT", 0, 0, 0, ""},
901
{ "MLINEFROMWKB", 0, 0, 0, ""},
902
{ "MPOINTFROMTEXT", 0, 0, 0, ""},
903
{ "MPOINTFROMWKB", 0, 0, 0, ""},
904
{ "MPOLYFROMTEXT", 0, 0, 0, ""},
905
{ "MPOLYFROMWKB", 0, 0, 0, ""},
906
{ "MONTHNAME", 0, 0, 0, ""},
907
{ "MULTILINESTRINGFROMTEXT", 0, 0, 0, ""},
908
{ "MULTILINESTRINGFROMWKB", 0, 0, 0, ""},
909
{ "MULTIPOINTFROMTEXT", 0, 0, 0, ""},
910
{ "MULTIPOINTFROMWKB", 0, 0, 0, ""},
911
{ "MULTIPOLYGONFROMTEXT", 0, 0, 0, ""},
912
{ "MULTIPOLYGONFROMWKB", 0, 0, 0, ""},
913
{ "NAME_CONST", 0, 0, 0, ""},
914
{ "NOW", 0, 0, 0, ""},
915
{ "NULLIF", 0, 0, 0, ""},
916
{ "NUMINTERIORRINGS", 0, 0, 0, ""},
917
{ "NUMPOINTS", 0, 0, 0, ""},
918
{ "OCTET_LENGTH", 0, 0, 0, ""},
919
{ "OCT", 0, 0, 0, ""},
920
{ "ORD", 0, 0, 0, ""},
921
{ "OVERLAPS", 0, 0, 0, ""},
922
{ "PERIOD_ADD", 0, 0, 0, ""},
923
{ "PERIOD_DIFF", 0, 0, 0, ""},
924
{ "PI", 0, 0, 0, ""},
925
{ "POINTFROMTEXT", 0, 0, 0, ""},
926
{ "POINTFROMWKB", 0, 0, 0, ""},
927
{ "POINTN", 0, 0, 0, ""},
928
{ "POLYFROMTEXT", 0, 0, 0, ""},
929
{ "POLYFROMWKB", 0, 0, 0, ""},
930
{ "POLYGONFROMTEXT", 0, 0, 0, ""},
931
{ "POLYGONFROMWKB", 0, 0, 0, ""},
932
{ "POSITION", 0, 0, 0, ""},
933
{ "POW", 0, 0, 0, ""},
934
{ "POWER", 0, 0, 0, ""},
935
{ "QUOTE", 0, 0, 0, ""},
936
{ "RADIANS", 0, 0, 0, ""},
937
{ "RAND", 0, 0, 0, ""},
938
{ "RELEASE_LOCK", 0, 0, 0, ""},
939
{ "REVERSE", 0, 0, 0, ""},
940
{ "ROUND", 0, 0, 0, ""},
941
{ "ROW_COUNT", 0, 0, 0, ""},
942
{ "RPAD", 0, 0, 0, ""},
943
{ "RTRIM", 0, 0, 0, ""},
944
{ "SESSION_USER", 0, 0, 0, ""},
945
{ "SUBDATE", 0, 0, 0, ""},
946
{ "SIGN", 0, 0, 0, ""},
947
{ "SIN", 0, 0, 0, ""},
948
{ "SHA", 0, 0, 0, ""},
949
{ "SHA1", 0, 0, 0, ""},
950
{ "SLEEP", 0, 0, 0, ""},
951
{ "SOUNDEX", 0, 0, 0, ""},
952
{ "SPACE", 0, 0, 0, ""},
953
{ "SQRT", 0, 0, 0, ""},
954
{ "SRID", 0, 0, 0, ""},
955
{ "STARTPOINT", 0, 0, 0, ""},
956
{ "STD", 0, 0, 0, ""},
957
{ "STDDEV", 0, 0, 0, ""},
958
{ "STDDEV_POP", 0, 0, 0, ""},
959
{ "STDDEV_SAMP", 0, 0, 0, ""},
960
{ "STR_TO_DATE", 0, 0, 0, ""},
961
{ "STRCMP", 0, 0, 0, ""},
962
{ "SUBSTR", 0, 0, 0, ""},
963
{ "SUBSTRING", 0, 0, 0, ""},
964
{ "SUBSTRING_INDEX", 0, 0, 0, ""},
965
{ "SUM", 0, 0, 0, ""},
966
{ "SYSDATE", 0, 0, 0, ""},
967
{ "SYSTEM_USER", 0, 0, 0, ""},
968
{ "TAN", 0, 0, 0, ""},
969
{ "TIME_FORMAT", 0, 0, 0, ""},
970
{ "TO_DAYS", 0, 0, 0, ""},
971
{ "TOUCHES", 0, 0, 0, ""},
972
{ "TRIM", 0, 0, 0, ""},
973
{ "UCASE", 0, 0, 0, ""},
974
{ "UNCOMPRESS", 0, 0, 0, ""},
975
{ "UNCOMPRESSED_LENGTH", 0, 0, 0, ""},
976
{ "UNHEX", 0, 0, 0, ""},
977
{ "UNIQUE_USERS", 0, 0, 0, ""},
978
{ "UNIX_TIMESTAMP", 0, 0, 0, ""},
979
{ "UPPER", 0, 0, 0, ""},
980
{ "UUID", 0, 0, 0, ""},
981
{ "VARIANCE", 0, 0, 0, ""},
982
{ "VAR_POP", 0, 0, 0, ""},
983
{ "VAR_SAMP", 0, 0, 0, ""},
984
{ "VERSION", 0, 0, 0, ""},
985
{ "WEEKDAY", 0, 0, 0, ""},
986
{ "WEEKOFYEAR", 0, 0, 0, ""},
987
{ "WITHIN", 0, 0, 0, ""},
990
{ "YEARWEEK", 0, 0, 0, ""},
1150
991
/* end sentinel */
1151
Commands((char *)NULL, 0, 0, 0, "")
992
{ (char *)NULL, 0, 0, 0, ""}
995
static const char *load_default_groups[]= { "drizzle","client",0 };
1155
997
int history_length;
1156
998
static int not_in_history(const char *line);
1157
999
static void initialize_readline (char *name);
1158
1000
static void fix_history(string *final_command);
1160
static Commands *find_command(const char *name,char cmd_name);
1002
static COMMANDS *find_command(const char *name,char cmd_name);
1161
1003
static bool add_line(string *buffer,char *line,char *in_string,
1162
1004
bool *ml_comment);
1163
1005
static void remove_cntrl(string *buffer);