Repository navigation
Commit 24201b7
committed
fixup! Lex qualified names with MySQL's lexer states
Join the tokens around "." without whitespace in stored CHECK and DEFAULT
expressions. The driver parses these again to create the SQLite table, and
with whitespace, "order . id" and "t . 1" are not qualified names, so
CREATE TABLE failed with an internal error.1 parent b8f2378 commit 24201b7
2 files changed
Lines changed: 31 additions & 0 deletions
File tree
- packages/mysql-on-sqlite
- src/sqlite
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3352 | 3352 | | |
3353 | 3353 | | |
3354 | 3354 | | |
| 3355 | + | |
| 3356 | + | |
3355 | 3357 | | |
3356 | 3358 | | |
3357 | 3359 | | |
3358 | 3360 | | |
| 3361 | + | |
3359 | 3362 | | |
3360 | 3363 | | |
| 3364 | + | |
3361 | 3365 | | |
3362 | 3366 | | |
3363 | 3367 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14520 | 14520 | | |
14521 | 14521 | | |
14522 | 14522 | | |
| 14523 | + | |
| 14524 | + | |
| 14525 | + | |
| 14526 | + | |
| 14527 | + | |
| 14528 | + | |
| 14529 | + | |
| 14530 | + | |
| 14531 | + | |
| 14532 | + | |
| 14533 | + | |
| 14534 | + | |
| 14535 | + | |
| 14536 | + | |
| 14537 | + | |
| 14538 | + | |
| 14539 | + | |
| 14540 | + | |
| 14541 | + | |
| 14542 | + | |
| 14543 | + | |
| 14544 | + | |
| 14545 | + | |
| 14546 | + | |
| 14547 | + | |
| 14548 | + | |
| 14549 | + | |
14523 | 14550 | | |
14524 | 14551 | | |
14525 | 14552 | | |
| |||
0 commit comments