forked from square/mysql-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
parser.output
12663 lines (7966 loc) · 322 KB
/
parser.output
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
state 1052 contains 18 shift/reduce conflicts
-------- Grammar --------
rule 1 root: S r_commands
rule 2 r_commands: r_ALTER_TABLE
rule 3 r_commands: r_CREATE_TABLE
rule 4 r_commands: r_DROP_TABLE
rule 5 r_commands: r_DROP_VIEW
rule 6 r_commands: r_CREATE_VIEW
rule 7 r_commands: r_TRUNCATE_TABLE
rule 8 r_commands: r_CREATE_INDEX
rule 9 r_commands: r_DROP_INDEX
rule 10 r_CREATE_VIEW: CREATE S r_opt_OR_REPLACE r_opt_ALGORITHM_with_val r_opt_DEFINER_with_val r_opt_SQL_SECURITY VIEW S r_view_name r_opt_COLUMN_list AS S star
rule 11 r_opt_COLUMN_list:
rule 12 r_opt_COLUMN_list: left_paren r_comma_separated_col_name right_paren
rule 13 r_opt_OR_REPLACE:
rule 14 r_opt_OR_REPLACE: OR S REPLACE S
rule 15 r_opt_ALGORITHM_with_val:
rule 16 r_opt_ALGORITHM_with_val: ALGORITHM S equal UNDEFINED S
rule 17 r_opt_ALGORITHM_with_val: ALGORITHM S equal MERGE S
rule 18 r_opt_ALGORITHM_with_val: ALGORITHM S equal TEMPTABLE S
rule 19 r_opt_DEFINER_with_val:
rule 20 r_opt_DEFINER_with_val: DEFINER S equal r_user_name
rule 21 r_opt_DEFINER_with_val: DEFINER S equal CURRENT_USER S
rule 22 r_opt_SQL_SECURITY:
rule 23 r_opt_SQL_SECURITY: SQL S SECURITY S DEFINER S
rule 24 r_opt_SQL_SECURITY: SQL S SECURITY S INVOKER S
rule 25 r_DROP_VIEW: DROP S VIEW S r_opt_IF_EXISTS r_comma_separated_view_name r_opt_RESTRICT_or_CASCADE
rule 26 r_opt_IF_EXISTS:
rule 27 r_opt_IF_EXISTS: IF S EXISTS S
rule 28 r_opt_RESTRICT_or_CASCADE:
rule 29 r_opt_RESTRICT_or_CASCADE: r_RESTRICT_or_CASCADE
rule 30 r_DROP_TABLE: DROP S r_opt_TEMPORARY TABLE S r_opt_IF_EXISTS r_comma_separated_tbl_name r_opt_RESTRICT_or_CASCADE
rule 31 r_TRUNCATE_TABLE: TRUNCATE S r_opt_TABLE r_tbl_name
rule 32 r_CREATE_TABLE: CREATE S r_opt_TEMPORARY TABLE S r_opt_IF_NOT_EXISTS r_tbl_name r_create_variation
rule 33 r_create_variation: r_create_definition_list r_opt_CREATE_TABLE_options r_opt_PARTITION_options
rule 34 r_create_variation: r_create_definition_list r_opt_CREATE_TABLE_options r_opt_PARTITION_options r_select_statement
rule 35 r_create_variation: r_opt_CREATE_TABLE_options r_opt_PARTITION_options r_select_statement
rule 36 r_create_variation: left_paren LIKE S r_tbl_name right_paren
rule 37 r_create_variation: LIKE S r_tbl_name
rule 38 r_create_definition_list: left_paren r_comma_separated_create_definition right_paren
rule 39 r_opt_TEMPORARY:
rule 40 r_opt_TEMPORARY: TEMPORARY S
rule 41 r_opt_TABLE:
rule 42 r_opt_TABLE: TABLE S
rule 43 r_opt_IF_NOT_EXISTS:
rule 44 r_opt_IF_NOT_EXISTS: IF S NOT S EXISTS S
rule 45 r_create_definition: r_col_name_with_definition
rule 46 r_create_definition: r_shared_create_alter
rule 47 r_create_definition: CHECK S
rule 48 r_col_name_with_definition: r_col_name r_column_definition
rule 49 r_ALTER_TABLE: ALTER S r_opt_ONLINE_OFFLINE r_opt_IGNORE TABLE S r_tbl_name r_opt_alter_commands r_opt_after_alter r_opt_PARTITION_options
rule 50 r_opt_ONLINE_OFFLINE:
rule 51 r_opt_ONLINE_OFFLINE: ONLINE S
rule 52 r_opt_ONLINE_OFFLINE: OFFLINE S
rule 53 r_opt_IGNORE:
rule 54 r_opt_IGNORE: IGNORE S
rule 55 r_opt_alter_commands:
rule 56 r_opt_alter_commands: r_comma_separated_alter_specification
rule 57 r_opt_alter_commands: r_single_alter_specification
rule 58 r_ROW_FORMAT_option: DEFAULT S
rule 59 r_ROW_FORMAT_option: DYNAMIC S
rule 60 r_ROW_FORMAT_option: COMPRESSED S
rule 61 r_ROW_FORMAT_option: FIXED S
rule 62 r_ROW_FORMAT_option: REDUNDANT S
rule 63 r_ROW_FORMAT_option: COMPACT S
rule 64 r_opt_CREATE_TABLE_options:
rule 65 r_opt_CREATE_TABLE_options: r_space_or_comma_separated_table_option
rule 66 r_opt_PARTITION_options:
rule 67 r_opt_PARTITION_options: REMOVE S PARTITIONING S
rule 68 r_opt_PARTITION_options: PARTITION S BY S
rule 69 r_select_statement: r_opt_IGNORE_or_REPLACE r_opt_AS SELECT S star
rule 70 r_shared_create_alter: r_opt_CONSTRAINT_with_val PRIMARY S KEY S r_alter_index_opt
rule 71 r_shared_create_alter: r_INDEX_or_KEY r_opt_index_name r_alter_index_opt
rule 72 r_shared_create_alter: r_opt_CONSTRAINT_with_val UNIQUE S r_opt_INDEX_or_KEY r_opt_index_name r_alter_index_opt
rule 73 r_shared_create_alter: FULLTEXT S r_opt_INDEX_or_KEY r_opt_index_name r_alter_index_opt
rule 74 r_shared_create_alter: SPATIAL S r_opt_INDEX_or_KEY r_opt_index_name r_alter_index_opt
rule 75 r_shared_create_alter: r_opt_CONSTRAINT_with_val FOREIGN S KEY S r_opt_index_name r_alter_index_opt r_REFERENCES_definition
rule 76 r_alter_specification: r_space_separated_alter_table_option
rule 77 r_alter_specification: ADD S r_opt_COLUMN r_col_name r_column_definition r_opt_pos_column
rule 78 r_alter_specification: ADD S r_opt_COLUMN left_paren r_comma_separated_add_col right_paren
rule 79 r_alter_specification: ADD S r_shared_create_alter
rule 80 r_alter_specification: ALTER S r_opt_COLUMN r_col_name r_SET_or_DROP_DEFAULT
rule 81 r_alter_specification: CHANGE S r_opt_COLUMN r_col_name r_col_name r_column_definition r_opt_pos_column
rule 82 r_alter_specification: DROP S r_opt_COLUMN r_col_name
rule 83 r_alter_specification: DROP S FOREIGN S KEY S r_fk_symbol
rule 84 r_alter_specification: DISABLE S KEYS S
rule 85 r_alter_specification: ENABLE S KEYS S
rule 86 r_alter_specification: RENAME S r_opt_TO_or_AS r_tbl_name
rule 87 r_alter_specification: CONVERT S TO S L_CHARACTER_SET S r_charset_name opt_COLLATE_with_val
rule 88 r_alter_specification: r_CHARACTER_SET_equal_with_val COLLATE S opt_equal r_collation_name
rule 89 r_alter_specification: DROP S r_INDEX_or_KEY r_index_name
rule 90 r_alter_specification: MODIFY S r_opt_COLUMN r_col_name r_column_definition r_opt_pos_column
rule 91 r_alter_specification: DROP S PRIMARY S KEY S
rule 92 r_opt_after_alter:
rule 93 r_opt_after_alter: ORDER S BY S r_comma_separated_col_name
rule 94 r_DATA_DIRECTORY_equal_with_val: DATA S DIRECTORY S opt_equal string
rule 95 r_INDEX_DIRECTORY_equal_with_val: INDEX S DIRECTORY S opt_equal string
rule 96 r_shared_table_option: AUTO_INCREMENT S opt_equal nat
rule 97 r_shared_table_option: AVG_ROW_LENGTH S opt_equal nat
rule 98 r_shared_table_option: r_CHARACTER_SET_equal_with_val
rule 99 r_shared_table_option: CHECKSUM S opt_equal binary
rule 100 r_shared_table_option: CONNECTION S opt_equal string
rule 101 r_shared_table_option: DELAY_KEY_WRITE S opt_equal binary
rule 102 r_shared_table_option: INSERT_METHOD S opt_equal r_NO_or_FIRST_or_LAST
rule 103 r_shared_table_option: PACK_KEYS S opt_equal r_binary_or_DEFAULT
rule 104 r_shared_table_option: PASSWORD S opt_equal string
rule 105 r_shared_table_option: ROW_FORMAT S opt_equal r_ROW_FORMAT_option
rule 106 r_shared_table_option: TABLESPACE S r_tablespace_name r_opt_STORAGE_option
rule 107 r_shared_table_option: UNION S opt_equal left_paren opt_equal r_comma_separated_tbl_name right_paren
rule 108 r_shared_table_option: KEY_BLOCK_SIZE S opt_equal nat
rule 109 r_shared_table_option: r_COMMENT_equal_with_val
rule 110 r_shared_table_option: r_DATA_DIRECTORY_equal_with_val
rule 111 r_shared_table_option: r_INDEX_DIRECTORY_equal_with_val
rule 112 r_shared_table_option: r_MAX_ROWS_equal_with_val
rule 113 r_shared_table_option: r_MIN_ROWS_equal_with_val
rule 114 r_shared_table_option: r_ENGINE_equal_with_val
rule 115 r_CREATE_TABLE_option: r_shared_table_option
rule 116 r_CREATE_TABLE_option: r_opt_DEFAULT COLLATE S opt_equal r_collation_name
rule 117 r_alter_table_option: r_shared_table_option
rule 118 r_opt_NODEGROUP_equal_with_val:
rule 119 r_opt_NODEGROUP_equal_with_val: NODEGROUP S
rule 120 r_single_alter_specification: DISCARD S TABLESPACE S
rule 121 r_single_alter_specification: IMPORT S TABLESPACE S
rule 122 r_single_alter_specification: ADD S PARTITION S left_paren r_partition_definition right_paren
rule 123 r_single_alter_specification: DROP S PARTITION S r_comma_separated_partition_name
rule 124 r_single_alter_specification: REBUILD S PARTITION S r_partition_name_list_or_ALL
rule 125 r_single_alter_specification: OPTIMIZE S PARTITION S r_partition_name_list_or_ALL
rule 126 r_single_alter_specification: ANALYZE S PARTITION S r_partition_name_list_or_ALL
rule 127 r_single_alter_specification: CHECK S PARTITION S r_partition_name_list_or_ALL
rule 128 r_single_alter_specification: REPAIR S PARTITION S r_partition_name_list_or_ALL
rule 129 r_single_alter_specification: COALESCE S PARTITION S nat
rule 130 r_single_alter_specification: TRUNCATE S PARTITION S r_partition_name_list_or_ALL
rule 131 r_single_alter_specification: REORGANIZE S PARTITION S r_opt_partition_names_INTO_definitions
rule 132 r_opt_CONSTRAINT_with_val:
rule 133 r_opt_CONSTRAINT_with_val: CONSTRAINT S
rule 134 r_opt_CONSTRAINT_with_val: CONSTRAINT S symbol
rule 135 r_CHARACTER_SET_equal_with_val: r_opt_DEFAULT L_CHARACTER_SET S opt_equal r_charset_name
rule 136 r_alter_index_opt: r_opt_index_type left_paren r_comma_separated_index_col_name right_paren r_opt_space_separated_index_option
rule 137 r_opt_INDEX_or_KEY:
rule 138 r_opt_INDEX_or_KEY: r_INDEX_or_KEY
rule 139 r_INDEX_or_KEY: INDEX S
rule 140 r_INDEX_or_KEY: KEY S
rule 141 r_opt_index_name:
rule 142 r_opt_index_name: r_index_name
rule 143 r_opt_index_type:
rule 144 r_opt_index_type: r_index_type
rule 145 r_index_type: USING S BTREE S
rule 146 r_index_type: USING S HASH S
rule 147 r_index_option: r_index_type
rule 148 r_index_option: KEY_BLOCK_SIZE S opt_equal nat
rule 149 r_index_option: WITH S PARSER S r_parser_name
rule 150 r_SET_or_DROP_DEFAULT: SET S DEFAULT S literal
rule 151 r_SET_or_DROP_DEFAULT: DROP S DEFAULT S
rule 152 r_opt_COLUMN:
rule 153 r_opt_COLUMN: COLUMN S
rule 154 r_column_definition: r_datatype r_opt_column_attribute
rule 155 r_opt_column_attribute:
rule 156 r_opt_column_attribute: r_space_separated_column_attribute
rule 157 r_column_attribute: r_NULL_status
rule 158 r_column_attribute: r_DEFAULT_with_val
rule 159 r_column_attribute: r_DEFAULT_with_expr
rule 160 r_column_attribute: r_AUTO_INCREMENT
rule 161 r_column_attribute: r_UNIQUE_or_PRIMARY
rule 162 r_column_attribute: r_COMMENT_with_val
rule 163 r_column_attribute: r_COLUMN_FORMAT
rule 164 r_column_attribute: r_STORAGE
rule 165 r_column_attribute: r_COLUMN_ON_UPDATE
rule 166 r_column_attribute: r_COLUMN_GENERATED_ALWAYS
rule 167 r_CREATE_INDEX: CREATE S r_opt_ONLINE_OFFLINE r_opt_UNIQUE_or_FULLTEXT_or_SPATIAL INDEX S r_index_name r_opt_index_type ON S r_tbl_name left_paren r_comma_separated_index_col_name right_paren r_opt_index_option
rule 168 r_opt_UNIQUE_or_FULLTEXT_or_SPATIAL:
rule 169 r_opt_UNIQUE_or_FULLTEXT_or_SPATIAL: UNIQUE S
rule 170 r_opt_UNIQUE_or_FULLTEXT_or_SPATIAL: FULLTEXT S
rule 171 r_opt_UNIQUE_or_FULLTEXT_or_SPATIAL: SPATIAL S
rule 172 r_opt_index_option:
rule 173 r_opt_index_option: r_index_option
rule 174 r_DROP_INDEX: DROP S INDEX S r_opt_ONLINE_OFFLINE r_index_name ON S r_tbl_name
rule 175 r_opt_datatype_number:
rule 176 r_opt_datatype_number: r_length_int
rule 177 r_opt_datatype_number: r_length_real
rule 178 r_opt_datatype_int: r_opt_length_int r_opt_UNSIGNED r_opt_ZEROFILL
rule 179 r_opt_datatype_real: r_opt_length_real r_opt_UNSIGNED r_opt_ZEROFILL
rule 180 r_opt_datatype_char: r_opt_BINARY r_opt_CHARACTER_SET_with_val opt_COLLATE_with_val
rule 181 r_opt_datatype_linestring: r_opt_SRID_with_val
rule 182 r_opt_length_int:
rule 183 r_opt_length_int: r_length_int
rule 184 r_opt_length_real:
rule 185 r_opt_length_real: r_length_real
rule 186 r_length_int: left_paren nat right_paren
rule 187 r_length_real: left_paren nat comma nat right_paren
rule 188 r_opt_UNSIGNED:
rule 189 r_opt_UNSIGNED: UNSIGNED S
rule 190 r_opt_ZEROFILL:
rule 191 r_opt_ZEROFILL: ZEROFILL S
rule 192 r_opt_BINARY:
rule 193 r_opt_BINARY: BINARY S
rule 194 r_NULL_status: NOT S null
rule 195 r_NULL_status: null
rule 196 r_DEFAULT_with_val: DEFAULT S value
rule 197 r_DEFAULT_with_expr: DEFAULT S left_paren r_func_call_empty right_paren
rule 198 r_DEFAULT_with_expr: DEFAULT S left_paren string right_paren
rule 199 r_AUTO_INCREMENT: AUTO_INCREMENT S
rule 200 r_UNIQUE_or_PRIMARY: UNIQUE S
rule 201 r_UNIQUE_or_PRIMARY: UNIQUE S KEY S
rule 202 r_UNIQUE_or_PRIMARY: PRIMARY S
rule 203 r_UNIQUE_or_PRIMARY: PRIMARY S KEY S
rule 204 r_COMMENT_with_val: COMMENT S string
rule 205 r_COLUMN_FORMAT: COLUMN_FORMAT S FIXED S
rule 206 r_COLUMN_FORMAT: COLUMN_FORMAT S DYNAMIC S
rule 207 r_COLUMN_FORMAT: COLUMN_FORMAT S DEFAULT S
rule 208 r_STORAGE: STORAGE S DISK S
rule 209 r_STORAGE: STORAGE S MEMORY S
rule 210 r_STORAGE: STORAGE S DEFAULT S
rule 211 r_REFERENCES_definition: REFERENCES S r_tbl_name left_paren r_comma_separated_index_col_name right_paren r_opt_MATCH r_opt_ON_DELETE_and_UPDATE
rule 212 r_opt_MATCH:
rule 213 r_opt_MATCH: MATCH S FULL S
rule 214 r_opt_MATCH: MATCH S PARTIAL S
rule 215 r_opt_MATCH: MATCH S SIMPLE S
rule 216 r_opt_ASC_or_DESC:
rule 217 r_opt_ASC_or_DESC: ASC S
rule 218 r_opt_ASC_or_DESC: DESC S
rule 219 r_opt_ON_DELETE_and_UPDATE:
rule 220 r_opt_ON_DELETE_and_UPDATE: ON S DELETE S r_reference_option
rule 221 r_opt_ON_DELETE_and_UPDATE: ON S DELETE S r_reference_option ON S UPDATE S r_reference_option
rule 222 r_opt_ON_DELETE_and_UPDATE: ON S UPDATE S r_reference_option
rule 223 r_COLUMN_ON_UPDATE: ON S UPDATE S literal
rule 224 r_COLUMN_GENERATED_ALWAYS: GENERATED S ALWAYS S AS star
rule 225 r_RESTRICT_or_CASCADE: RESTRICT S
rule 226 r_RESTRICT_or_CASCADE: CASCADE S
rule 227 r_reference_option: r_RESTRICT_or_CASCADE
rule 228 r_reference_option: SET S null
rule 229 r_reference_option: NO S ACTION S
rule 230 r_opt_TO_or_AS:
rule 231 r_opt_TO_or_AS: AS S
rule 232 r_opt_TO_or_AS: TO S
rule 233 r_opt_AS:
rule 234 r_opt_AS: AS S
rule 235 r_opt_CHARACTER_SET_with_val:
rule 236 r_opt_CHARACTER_SET_with_val: L_CHARACTER_SET S r_charset_name
rule 237 opt_COLLATE_with_val:
rule 238 opt_COLLATE_with_val: COLLATE S r_collation_name
rule 239 r_opt_SRID_with_val:
rule 240 r_opt_SRID_with_val: SRID S integer
rule 241 r_opt_pos_column:
rule 242 r_opt_pos_column: FIRST S
rule 243 r_opt_pos_column: AFTER S r_col_name
rule 244 r_binary_or_DEFAULT: DEFAULT S
rule 245 r_binary_or_DEFAULT: binary
rule 246 r_NO_or_FIRST_or_LAST: NO S
rule 247 r_NO_or_FIRST_or_LAST: FIRST S
rule 248 r_NO_or_FIRST_or_LAST: LAST S
rule 249 r_opt_STORAGE_option:
rule 250 r_opt_STORAGE_option: STORAGE S DISK S
rule 251 r_opt_STORAGE_option: STORAGE S MEMORY S
rule 252 r_opt_STORAGE_option: STORAGE S DEFAULT S
rule 253 r_opt_DEFAULT:
rule 254 r_opt_DEFAULT: DEFAULT S
rule 255 r_opt_COMMENT_equal_with_val:
rule 256 r_opt_COMMENT_equal_with_val: r_COMMENT_equal_with_val
rule 257 r_COMMENT_equal_with_val: COMMENT S opt_equal string
rule 258 r_MAX_ROWS_equal_with_val: MAX_ROWS S opt_equal nat
rule 259 r_MIN_ROWS_equal_with_val: MIN_ROWS S opt_equal nat
rule 260 r_partition_definition: PARTITION S r_partition_name r_opt_partition_values r_partition_subpartition_share r_opt_subpartition_definition_list
rule 261 r_opt_partition_values:
rule 262 r_opt_partition_values: VALUES S LESS S THAN S MAXVALUE S
rule 263 r_opt_partition_values: VALUES S LESS S THAN S left_paren expr right_paren
rule 264 r_opt_partition_values: VALUES S IN S left_paren r_comma_separated_integer right_paren
rule 265 r_ENGINE_equal_with_val: ENGINE S opt_equal r_ENGINE_name
rule 266 r_opt_STORAGE_ENGINE_equal_with_val:
rule 267 r_opt_STORAGE_ENGINE_equal_with_val: STORAGE S ENGINE S opt_equal r_ENGINE_name
rule 268 r_opt_STORAGE_ENGINE_equal_with_val: r_ENGINE_equal_with_val
rule 269 r_opt_DATA_DIRECTORY_equal_with_val:
rule 270 r_opt_DATA_DIRECTORY_equal_with_val: r_DATA_DIRECTORY_equal_with_val
rule 271 r_opt_INDEX_DIRECTORY_equal_with_val:
rule 272 r_opt_INDEX_DIRECTORY_equal_with_val: r_INDEX_DIRECTORY_equal_with_val
rule 273 r_opt_MAX_ROWS_equal_with_val:
rule 274 r_opt_MAX_ROWS_equal_with_val: r_MAX_ROWS_equal_with_val
rule 275 r_opt_MIN_ROWS_equal_with_val:
rule 276 r_opt_MIN_ROWS_equal_with_val: r_MIN_ROWS_equal_with_val
rule 277 r_opt_TABLESPACE_equal_with_val:
rule 278 r_opt_TABLESPACE_equal_with_val: TABLESPACE S opt_equal r_tablespace_name
rule 279 r_subpartition_definition: SUBPARTITION S r_logical_name r_partition_subpartition_share
rule 280 r_partition_subpartition_share: r_opt_STORAGE_ENGINE_equal_with_val r_opt_COMMENT_equal_with_val r_opt_DATA_DIRECTORY_equal_with_val r_opt_INDEX_DIRECTORY_equal_with_val r_opt_MAX_ROWS_equal_with_val r_opt_MIN_ROWS_equal_with_val r_opt_TABLESPACE_equal_with_val r_opt_NODEGROUP_equal_with_val
rule 281 r_opt_subpartition_definition_list:
rule 282 r_opt_subpartition_definition_list: left_paren r_comma_separated_subpartition_definition right_paren
rule 283 r_opt_partition_names_INTO_definitions:
rule 284 r_opt_partition_names_INTO_definitions: r_comma_separated_partition_name INTO S left_paren r_comma_separated_partition_definition right_paren
rule 285 r_partition_name_list_or_ALL: ALL S
rule 286 r_partition_name_list_or_ALL: r_comma_separated_partition_name
rule 287 r_opt_IGNORE_or_REPLACE:
rule 288 r_opt_IGNORE_or_REPLACE: IGNORE
rule 289 r_opt_IGNORE_or_REPLACE: REPLACE S
rule 290 r_comma_separated_col_name: r_col_name
rule 291 r_comma_separated_col_name: r_comma_separated_col_name comma r_col_name
rule 292 r_comma_separated_tbl_name: r_tbl_name
rule 293 r_comma_separated_tbl_name: r_comma_separated_tbl_name comma r_tbl_name
rule 294 r_comma_separated_index_col_name: r_index_col_name
rule 295 r_comma_separated_index_col_name: r_comma_separated_index_col_name comma r_index_col_name
rule 296 r_comma_separated_add_col: r_col_name_with_definition
rule 297 r_comma_separated_add_col: r_comma_separated_add_col comma r_col_name_with_definition
rule 298 r_comma_separated_alter_specification: r_alter_specification
rule 299 r_comma_separated_alter_specification: r_comma_separated_alter_specification comma r_alter_specification
rule 300 r_comma_separated_partition_name: r_partition_name
rule 301 r_comma_separated_partition_name: r_comma_separated_partition_name comma r_partition_name
rule 302 r_comma_separated_subpartition_definition: r_subpartition_definition
rule 303 r_comma_separated_subpartition_definition: r_comma_separated_subpartition_definition comma r_subpartition_definition
rule 304 r_comma_separated_partition_definition: r_partition_definition
rule 305 r_comma_separated_partition_definition: r_comma_separated_partition_definition comma r_partition_definition
rule 306 r_space_separated_alter_table_option: r_alter_table_option
rule 307 r_space_separated_alter_table_option: r_space_separated_alter_table_option r_alter_table_option
rule 308 r_comma_separated_view_name: r_view_name
rule 309 r_comma_separated_view_name: r_comma_separated_view_name comma r_view_name
rule 310 r_opt_space_separated_index_option:
rule 311 r_opt_space_separated_index_option: r_opt_space_separated_index_option r_index_option
rule 312 r_comma_separated_integer: integer
rule 313 r_comma_separated_integer: r_comma_separated_integer comma integer
rule 314 r_comma_separated_create_definition: r_create_definition
rule 315 r_comma_separated_create_definition: r_comma_separated_create_definition comma r_create_definition
rule 316 r_space_or_comma_separated_table_option: r_CREATE_TABLE_option
rule 317 r_space_or_comma_separated_table_option: r_space_or_comma_separated_table_option opt_comma r_CREATE_TABLE_option
rule 318 r_comma_separated_string: string
rule 319 r_comma_separated_string: r_comma_separated_string comma string
rule 320 r_space_separated_column_attribute: r_column_attribute
rule 321 r_space_separated_column_attribute: r_space_separated_column_attribute r_column_attribute
rule 322 r_index_col_name: r_col_name r_opt_length_int r_opt_ASC_or_DESC
rule 323 r_view_name: r_tbl_name_int
rule 324 r_partition_name: ident
rule 325 r_logical_name: ident
rule 326 r_parser_name: ident
rule 327 r_index_name: ident
rule 328 r_tablespace_name: ident
rule 329 r_collation_name: raw_ident
rule 330 r_col_name: ident
rule 331 r_tbl_name: r_tbl_name_int
rule 332 r_func_call_empty: ident left_paren right_paren
rule 333 r_tbl_name_int: ident
rule 334 r_tbl_name_int: S_IDENT_NORMAL S_DOT ident
rule 335 r_tbl_name_int: S_DOT ident
rule 336 r_user_name: r_user_name_part
rule 337 r_user_name: r_user_name_part S_AT r_user_name_part
rule 338 r_user_name_part: string
rule 339 r_user_name_part: ident
rule 340 r_fk_symbol: ident
rule 341 r_ENGINE_name: INNODB S
rule 342 r_ENGINE_name: raw_ident
rule 343 r_charset_name: LATIN1 S
rule 344 r_charset_name: UTF8 S
rule 345 r_charset_name: UTF8MB4 S
rule 346 r_charset_name: UTF8MB3 S
rule 347 r_charset_name: raw_ident
rule 348 r_datatype: BIT S r_opt_length_int
rule 349 r_datatype: TINYINT S r_opt_datatype_int
rule 350 r_datatype: SMALLINT S r_opt_datatype_int
rule 351 r_datatype: MEDIUMINT S r_opt_datatype_int
rule 352 r_datatype: INT S r_opt_datatype_int
rule 353 r_datatype: INTEGER S r_opt_datatype_int
rule 354 r_datatype: BIGINT S r_opt_datatype_int
rule 355 r_datatype: REAL S r_opt_datatype_real
rule 356 r_datatype: DOUBLE S r_opt_datatype_real
rule 357 r_datatype: FLOAT S r_opt_datatype_number
rule 358 r_datatype: DECIMAL S r_opt_datatype_number
rule 359 r_datatype: NUMERIC S r_opt_datatype_number
rule 360 r_datatype: DATE S r_opt_datatype_int
rule 361 r_datatype: TIME S r_opt_datatype_int
rule 362 r_datatype: TIMESTAMP S r_opt_datatype_int
rule 363 r_datatype: DATETIME S r_opt_datatype_int
rule 364 r_datatype: YEAR S
rule 365 r_datatype: CHAR S r_opt_length_int r_opt_datatype_char
rule 366 r_datatype: VARCHAR S r_opt_length_int r_opt_datatype_char
rule 367 r_datatype: BINARY S r_opt_length_int
rule 368 r_datatype: VARBINARY S r_length_int
rule 369 r_datatype: TINYBLOB S
rule 370 r_datatype: BLOB S
rule 371 r_datatype: MEDIUMBLOB S
rule 372 r_datatype: LONGBLOB S
rule 373 r_datatype: TINYTEXT S r_opt_datatype_char
rule 374 r_datatype: TEXT S r_opt_datatype_char
rule 375 r_datatype: MEDIUMTEXT S r_opt_datatype_char
rule 376 r_datatype: LONGTEXT S r_opt_datatype_char
rule 377 r_datatype: SET S left_paren r_comma_separated_string right_paren r_opt_CHARACTER_SET_with_val opt_COLLATE_with_val
rule 378 r_datatype: ENUM S left_paren r_comma_separated_string right_paren r_opt_CHARACTER_SET_with_val opt_COLLATE_with_val
rule 379 r_datatype: LINESTRING S r_opt_datatype_linestring
rule 380 r_datatype: raw_ident
rule 381 expr: number
rule 382 opt_comma:
rule 383 opt_comma: comma
rule 384 comma: S_COMMA S
rule 385 opt_equal:
rule 386 opt_equal: equal
rule 387 equal: S_EQUAL S
rule 388 left_paren: S_LEFT_PAREN S
rule 389 right_paren: S_RIGHT_PAREN S
rule 390 symbol: ident
rule 391 literal: value
rule 392 value: null
rule 393 value: number
rule 394 value: string
rule 395 value: CURRENT_TIMESTAMP S
rule 396 string: S_SINGLEQUOTE_IN opt_string_in_quote S_SINGLEQUOTE_OUT S
rule 397 string: S_DOUBLEQUOTE_IN opt_string_in_quote S_DOUBLEQUOTE_OUT S
rule 398 opt_string_in_quote:
rule 399 opt_string_in_quote: opt_string_in_quote S_STRING_IN_QUOTE
rule 400 number: integer
rule 401 number: float
rule 402 float: S_FLOAT S
rule 403 binary: S_ZERO S
rule 404 binary: S_ONE S
rule 405 integer: nat
rule 406 integer: negative_integer
rule 407 negative_integer: S_MINUS S_ONE S
rule 408 negative_integer: S_MINUS S_NAT S
rule 409 nat: S_NAT S
rule 410 nat: binary
rule 411 null: NULL S
rule 412 ident: raw_ident
rule 413 ident: S_BACKTICK_IN opt_ident_in_backtick S_BACKTICK_OUT S
rule 414 opt_ident_in_backtick:
rule 415 opt_ident_in_backtick: opt_ident_in_backtick S_IDENT_IN_BACKTICK
rule 416 raw_ident: S_IDENT_NORMAL S
rule 417 S: S_SPACE
rule 418 star: dot
rule 419 star: star dot
rule 420 dot: ZEROFILL
rule 421 dot: YEAR
rule 422 dot: WITH
rule 423 dot: VIEW
rule 424 dot: VARCHAR
rule 425 dot: VARBINARY
rule 426 dot: VALUES
rule 427 dot: UTF8MB4
rule 428 dot: UTF8MB3
rule 429 dot: UTF8
rule 430 dot: USING
rule 431 dot: UPDATE
rule 432 dot: UNSIGNED
rule 433 dot: UNIQUE
rule 434 dot: UNION
rule 435 dot: UNDEFINED
rule 436 dot: TRUNCATE
rule 437 dot: TO
rule 438 dot: TINYTEXT
rule 439 dot: TINYINT
rule 440 dot: TINYBLOB
rule 441 dot: TIMESTAMP
rule 442 dot: TIME
rule 443 dot: THAN
rule 444 dot: TEXT
rule 445 dot: TEMPTABLE
rule 446 dot: TEMPORARY
rule 447 dot: TABLESPACE
rule 448 dot: TABLE
rule 449 dot: S_ZERO
rule 450 dot: S_STRING_IN_SINGLEQUOTE
rule 451 dot: S_STRING_IN_QUOTE
rule 452 dot: S_SPACE
rule 453 dot: S_SINGLEQUOTE_OUT
rule 454 dot: S_SINGLEQUOTE_IN
rule 455 dot: S_RIGHT_PAREN
rule 456 dot: S_ONE
rule 457 dot: S_NAT
rule 458 dot: S_MINUS
rule 459 dot: S_LEFT_PAREN
rule 460 dot: S_IDENT_NORMAL
rule 461 dot: S_IDENT_IN_BACKTICK
rule 462 dot: S_FLOAT
rule 463 dot: S_EQUAL
rule 464 dot: S_DOUBLEQUOTE_OUT
rule 465 dot: S_DOUBLEQUOTE_IN
rule 466 dot: S_DOT
rule 467 dot: S_COMMA
rule 468 dot: S_BACKTICK_OUT
rule 469 dot: S_BACKTICK_IN
rule 470 dot: S_AT
rule 471 dot: SUBPARTITION
rule 472 dot: STORAGE
rule 473 dot: SRID
rule 474 dot: SQL
rule 475 dot: SPATIAL
rule 476 dot: SMALLINT
rule 477 dot: SIMPLE
rule 478 dot: SET
rule 479 dot: SELECT
rule 480 dot: SECURITY
rule 481 dot: ROW_FORMAT
rule 482 dot: RESTRICT
rule 483 dot: REPLACE
rule 484 dot: REPAIR
rule 485 dot: REORGANIZE
rule 486 dot: RENAME
rule 487 dot: REMOVE
rule 488 dot: REFERENCES
rule 489 dot: REDUNDANT
rule 490 dot: REBUILD
rule 491 dot: REAL
rule 492 dot: PRIMARY
rule 493 dot: PASSWORD
rule 494 dot: PARTITIONING
rule 495 dot: PARTITION
rule 496 dot: PARTIAL
rule 497 dot: PARSER
rule 498 dot: PACK_KEYS
rule 499 dot: ORDER
rule 500 dot: OR
rule 501 dot: OPTION
rule 502 dot: OPTIMIZE
rule 503 dot: ONLINE
rule 504 dot: ON
rule 505 dot: OFFLINE
rule 506 dot: NUMERIC
rule 507 dot: NULL
rule 508 dot: NOT
rule 509 dot: NODEGROUP
rule 510 dot: NO
rule 511 dot: MODIFY
rule 512 dot: MIN_ROWS
rule 513 dot: MERGE
rule 514 dot: MEMORY
rule 515 dot: MEDIUMTEXT
rule 516 dot: MEDIUMINT
rule 517 dot: MEDIUMBLOB
rule 518 dot: MAX_ROWS
rule 519 dot: MAXVALUE
rule 520 dot: MATCH
rule 521 dot: L_CHARACTER_SET
rule 522 dot: LONGTEXT
rule 523 dot: LONGBLOB
rule 524 dot: LOCAL
rule 525 dot: LINESTRING
rule 526 dot: LIKE
rule 527 dot: LESS
rule 528 dot: LATIN1
rule 529 dot: LAST
rule 530 dot: KEY_BLOCK_SIZE
rule 531 dot: KEYS
rule 532 dot: KEY
rule 533 dot: INVOKER
rule 534 dot: INTO
rule 535 dot: INTEGER
rule 536 dot: INT
rule 537 dot: INSERT_METHOD
rule 538 dot: INNODB
rule 539 dot: INDEX
rule 540 dot: IN
rule 541 dot: IMPORT
rule 542 dot: IGNORE
rule 543 dot: IF
rule 544 dot: HASH
rule 545 dot: GENERATED
rule 546 dot: FULLTEXT
rule 547 dot: FULL
rule 548 dot: FOREIGN
rule 549 dot: FLOAT
rule 550 dot: FIXED
rule 551 dot: FIRST
rule 552 dot: EXISTS
rule 553 dot: ENUM
rule 554 dot: ENGINE
rule 555 dot: ENABLE
rule 556 dot: DYNAMIC
rule 557 dot: DROP
rule 558 dot: DOUBLE
rule 559 dot: DISK
rule 560 dot: DISCARD
rule 561 dot: DISABLE
rule 562 dot: DIRECTORY
rule 563 dot: DESC
rule 564 dot: DELETE
rule 565 dot: DELAY_KEY_WRITE
rule 566 dot: DEFINER
rule 567 dot: DEFAULT
rule 568 dot: DECIMAL
rule 569 dot: DATETIME
rule 570 dot: DATE
rule 571 dot: DATA
rule 572 dot: CURRENT_USER
rule 573 dot: CURRENT_TIMESTAMP
rule 574 dot: CREATE
rule 575 dot: CONVERT
rule 576 dot: CONSTRAINT
rule 577 dot: CONNECTION
rule 578 dot: COMPRESSED
rule 579 dot: COMPACT
rule 580 dot: COMMENT
rule 581 dot: COLUMN_FORMAT
rule 582 dot: COLUMN
rule 583 dot: COLLATE
rule 584 dot: COALESCE
rule 585 dot: CHECKSUM
rule 586 dot: CHECK
rule 587 dot: CHAR
rule 588 dot: CHANGE
rule 589 dot: CASCADED
rule 590 dot: CASCADE
rule 591 dot: BY
rule 592 dot: BTREE
rule 593 dot: BLOB
rule 594 dot: BIT
rule 595 dot: BINARY
rule 596 dot: BIGINT
rule 597 dot: AVG_ROW_LENGTH
rule 598 dot: AUTO_INCREMENT
rule 599 dot: ASC
rule 600 dot: AS
rule 601 dot: ANALYZE
rule 602 dot: ALWAYS
rule 603 dot: ALTER
rule 604 dot: ALL
rule 605 dot: ALGORITHM
rule 606 dot: AFTER
rule 607 dot: ADD
rule 608 dot: ACTION
------- Symbols -------
**Nonterminals, with rules where they appear
$start (191)
on right:
on left :
root (192)
on right:
on left : 1
S (193)
on right: 1 10 14 16 17 18 20 21 23 24 25 27 30 31 32 36 37 40 42 44 47 49 51 52 54 58 59 60 61 62 63 67 68 69 70 72 73 74 75 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 93 94 95 96 97 99 100 101 102 103 104 105 106 107 108 116 119 120 121 122 123 124 125 126 127 128 129 130 131 133 134 135 139 140 145 146 148 149 150 151 153 167 169 170 171 174 189 191 193 194 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 213 214 215 217 218 220 221 222 223 224 225 226 228 229 231 232 234 236 238 240 242 243 244 246 247 248 250 251 252 254 257 258 259 260 262 263 264 265 267 278 279 284 285 289 341 343 344 345 346 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 384 387 388 389 395 396 397 402 403 404 407 408 409 411 413 416
on left : 417
r_commands (194)
on right: 1
on left : 2 3 4 5 6 7 8 9
r_ALTER_TABLE (195)
on right: 2
on left : 49
r_CREATE_TABLE (196)
on right: 3
on left : 32
r_DROP_TABLE (197)
on right: 4
on left : 30
r_DROP_VIEW (198)
on right: 5
on left : 25
r_CREATE_VIEW (199)
on right: 6
on left : 10
r_TRUNCATE_TABLE (200)
on right: 7
on left : 31
r_CREATE_INDEX (201)
on right: 8
on left : 167
r_DROP_INDEX (202)
on right: 9
on left : 174
r_opt_OR_REPLACE (203)
on right: 10
on left : 13 14
r_opt_ALGORITHM_with_val (204)
on right: 10
on left : 15 16 17 18
r_opt_DEFINER_with_val (205)
on right: 10
on left : 19 20 21
r_opt_SQL_SECURITY (206)
on right: 10
on left : 22 23 24
r_view_name (207)
on right: 10 308 309
on left : 323
r_opt_COLUMN_list (208)
on right: 10
on left : 11 12
star (209)
on right: 10 69 224 419
on left : 418 419
left_paren (210)
on right: 12 36 38 78 107 122 136 167 186 187 197 198 211 263 264 282 284 332 377 378
on left : 388
r_comma_separated_col_name (211)
on right: 12 93 291
on left : 290 291
right_paren (212)
on right: 12 36 38 78 107 122 136 167 186 187 197 198 211 263 264 282 284 332 377 378
on left : 389
equal (213)
on right: 16 17 18 20 21 386
on left : 387
r_user_name (214)
on right: 20
on left : 336 337
r_opt_IF_EXISTS (215)
on right: 25 30
on left : 26 27
r_comma_separated_view_name (216)
on right: 25 309
on left : 308 309
r_opt_RESTRICT_or_CASCADE (217)
on right: 25 30
on left : 28 29
r_RESTRICT_or_CASCADE (218)
on right: 29 227
on left : 225 226
r_opt_TEMPORARY (219)
on right: 30 32
on left : 39 40
r_comma_separated_tbl_name (220)
on right: 30 107 293
on left : 292 293
r_opt_TABLE (221)
on right: 31
on left : 41 42
r_tbl_name (222)
on right: 31 32 36 37 49 86 167 174 211 292 293
on left : 331
r_opt_IF_NOT_EXISTS (223)
on right: 32
on left : 43 44
r_create_variation (224)
on right: 32
on left : 33 34 35 36 37
r_create_definition_list (225)
on right: 33 34
on left : 38
r_opt_CREATE_TABLE_options (226)
on right: 33 34 35
on left : 64 65
r_opt_PARTITION_options (227)
on right: 33 34 35 49
on left : 66 67 68
r_select_statement (228)
on right: 34 35
on left : 69
r_comma_separated_create_definition (229)
on right: 38 315
on left : 314 315
r_create_definition (230)
on right: 314 315
on left : 45 46 47
r_col_name_with_definition (231)
on right: 45 296 297
on left : 48
r_shared_create_alter (232)
on right: 46 79
on left : 70 71 72 73 74 75
r_col_name (233)
on right: 48 77 80 81 82 90 243 290 291 322
on left : 330
r_column_definition (234)
on right: 48 77 81 90
on left : 154
r_opt_ONLINE_OFFLINE (235)
on right: 49 167 174
on left : 50 51 52
r_opt_IGNORE (236)
on right: 49
on left : 53 54
r_opt_alter_commands (237)
on right: 49
on left : 55 56 57
r_opt_after_alter (238)
on right: 49
on left : 92 93
r_comma_separated_alter_specification (239)
on right: 56 299
on left : 298 299
r_single_alter_specification (240)
on right: 57
on left : 120 121 122 123 124 125 126 127 128 129 130 131
r_ROW_FORMAT_option (241)
on right: 105
on left : 58 59 60 61 62 63
r_space_or_comma_separated_table_option (242)
on right: 65 317
on left : 316 317
r_opt_IGNORE_or_REPLACE (243)
on right: 69
on left : 287 288 289
r_opt_AS (244)
on right: 69
on left : 233 234
r_opt_CONSTRAINT_with_val (245)
on right: 70 72 75
on left : 132 133 134
r_alter_index_opt (246)
on right: 70 71 72 73 74 75
on left : 136
r_INDEX_or_KEY (247)
on right: 71 89 138
on left : 139 140
r_opt_index_name (248)
on right: 71 72 73 74 75
on left : 141 142
r_opt_INDEX_or_KEY (249)
on right: 72 73 74
on left : 137 138
r_REFERENCES_definition (250)
on right: 75
on left : 211
r_alter_specification (251)
on right: 298 299
on left : 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
r_space_separated_alter_table_option (252)
on right: 76 307
on left : 306 307
r_opt_COLUMN (253)
on right: 77 78 80 81 82 90
on left : 152 153
r_opt_pos_column (254)
on right: 77 81 90
on left : 241 242 243
r_comma_separated_add_col (255)
on right: 78 297
on left : 296 297
r_SET_or_DROP_DEFAULT (256)
on right: 80
on left : 150 151
r_fk_symbol (257)
on right: 83
on left : 340
r_opt_TO_or_AS (258)
on right: 86
on left : 230 231 232
r_charset_name (259)
on right: 87 135 236
on left : 343 344 345 346 347
opt_COLLATE_with_val (260)
on right: 87 180 377 378
on left : 237 238
r_CHARACTER_SET_equal_with_val (261)
on right: 88 98
on left : 135
opt_equal (262)
on right: 88 94 95 96 97 99 100 101 102 103 104 105 107 108 116 135 148 257 258 259 265 267 278
on left : 385 386
r_collation_name (263)
on right: 88 116 238
on left : 329
r_index_name (264)
on right: 89 142 167 174
on left : 327
r_DATA_DIRECTORY_equal_with_val (265)
on right: 110 270
on left : 94
string (266)
on right: 94 95 100 104 198 204 257 318 319 338 394
on left : 396 397
r_INDEX_DIRECTORY_equal_with_val (267)
on right: 111 272
on left : 95
r_shared_table_option (268)
on right: 115 117
on left : 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114
nat (269)
on right: 96 97 108 129 148 186 187 258 259 405
on left : 409 410
binary (270)
on right: 99 101 245 410
on left : 403 404
r_NO_or_FIRST_or_LAST (271)
on right: 102
on left : 246 247 248
r_binary_or_DEFAULT (272)
on right: 103
on left : 244 245
r_tablespace_name (273)
on right: 106 278
on left : 328
r_opt_STORAGE_option (274)
on right: 106
on left : 249 250 251 252
r_COMMENT_equal_with_val (275)
on right: 109 256
on left : 257
r_MAX_ROWS_equal_with_val (276)
on right: 112 274
on left : 258
r_MIN_ROWS_equal_with_val (277)
on right: 113 276
on left : 259
r_ENGINE_equal_with_val (278)
on right: 114 268
on left : 265
r_CREATE_TABLE_option (279)
on right: 316 317
on left : 115 116
r_opt_DEFAULT (280)
on right: 116 135
on left : 253 254
r_alter_table_option (281)
on right: 306 307
on left : 117
r_opt_NODEGROUP_equal_with_val (282)
on right: 280
on left : 118 119
r_partition_definition (283)
on right: 122 304 305
on left : 260
r_comma_separated_partition_name (284)
on right: 123 284 286 301
on left : 300 301
r_partition_name_list_or_ALL (285)
on right: 124 125 126 127 128 130
on left : 285 286
r_opt_partition_names_INTO_definitions (286)
on right: 131
on left : 283 284
symbol (287)
on right: 134
on left : 390
r_opt_index_type (288)
on right: 136 167
on left : 143 144
r_comma_separated_index_col_name (289)
on right: 136 167 211 295
on left : 294 295
r_opt_space_separated_index_option (290)
on right: 136 311
on left : 310 311
r_index_type (291)
on right: 144 147
on left : 145 146
r_index_option (292)
on right: 173 311
on left : 147 148 149
r_parser_name (293)
on right: 149
on left : 326
literal (294)
on right: 150 223
on left : 391
r_datatype (295)
on right: 154
on left : 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380
r_opt_column_attribute (296)
on right: 154
on left : 155 156
r_space_separated_column_attribute (297)
on right: 156 321
on left : 320 321
r_column_attribute (298)
on right: 320 321
on left : 157 158 159 160 161 162 163 164 165 166
r_NULL_status (299)
on right: 157
on left : 194 195
r_DEFAULT_with_val (300)
on right: 158
on left : 196
r_DEFAULT_with_expr (301)
on right: 159
on left : 197 198
r_AUTO_INCREMENT (302)
on right: 160
on left : 199
r_UNIQUE_or_PRIMARY (303)
on right: 161
on left : 200 201 202 203
r_COMMENT_with_val (304)
on right: 162
on left : 204
r_COLUMN_FORMAT (305)
on right: 163
on left : 205 206 207
r_STORAGE (306)
on right: 164
on left : 208 209 210
r_COLUMN_ON_UPDATE (307)
on right: 165
on left : 223
r_COLUMN_GENERATED_ALWAYS (308)
on right: 166
on left : 224
r_opt_UNIQUE_or_FULLTEXT_or_SPATIAL (309)
on right: 167
on left : 168 169 170 171
r_opt_index_option (310)
on right: 167
on left : 172 173
r_opt_datatype_number (311)
on right: 357 358 359
on left : 175 176 177
r_length_int (312)
on right: 176 183 368
on left : 186
r_length_real (313)
on right: 177 185
on left : 187
r_opt_datatype_int (314)
on right: 349 350 351 352 353 354 360 361 362 363
on left : 178
r_opt_length_int (315)
on right: 178 322 348 365 366 367
on left : 182 183
r_opt_UNSIGNED (316)
on right: 178 179
on left : 188 189
r_opt_ZEROFILL (317)
on right: 178 179
on left : 190 191
r_opt_datatype_real (318)