Commit cc9a67a
committed
Implement Tier 1 deep parsers for EXPLAIN, CALL, DO, LOAD DATA
- parse_explain(): handles EXPLAIN [ANALYZE] [FORMAT=...] inner_stmt,
EXPLAIN table_name (MySQL shorthand), DESCRIBE/DESC table [col],
and PostgreSQL parenthesized options (ANALYZE, VERBOSE, FORMAT, etc.)
- parse_call(): handles CALL [schema.]proc(args...) for both dialects
- parse_do(): handles DO expr [, expr ...] (MySQL)
- parse_load_data(): handles LOAD DATA [LOCAL] INFILE '...'
[REPLACE|IGNORE] INTO TABLE t [FIELDS TERMINATED BY ...] etc.
- Removes extract_load() (replaced by parse_load_data)
- Wires all four into classify_and_dispatch()1 parent 67c90bb commit cc9a67a
2 files changed
Lines changed: 474 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
75 | | - | |
| 79 | + | |
76 | 80 | | |
77 | 81 | | |
78 | 82 | | |
| |||
0 commit comments