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