Repository navigation
Commit 88dfafa
committed
Name national string columns like MySQL
SELECT N'abc' named its column N'abc', while MySQL names it abc.
A national string has no textStringLiteral node, so the alias logic
didn't treat it as a bare string literal.1 parent d7819c5 commit 88dfafa
3 files changed
Lines changed: 12 additions & 4 deletions
File tree
- packages/mysql-on-sqlite
- src/sqlite
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5593 | 5593 | | |
5594 | 5594 | | |
5595 | 5595 | | |
| 5596 | + | |
5596 | 5597 | | |
5597 | 5598 | | |
5598 | 5599 | | |
| |||
5602 | 5603 | | |
5603 | 5604 | | |
5604 | 5605 | | |
5605 | | - | |
| 5606 | + | |
| 5607 | + | |
| 5608 | + | |
| 5609 | + | |
5606 | 5610 | | |
5607 | 5611 | | |
5608 | 5612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10638 | 10638 | | |
10639 | 10639 | | |
10640 | 10640 | | |
| 10641 | + | |
| 10642 | + | |
| 10643 | + | |
| 10644 | + | |
10641 | 10645 | | |
10642 | 10646 | | |
10643 | 10647 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1756 | 1756 | | |
1757 | 1757 | | |
1758 | 1758 | | |
1759 | | - | |
| 1759 | + | |
1760 | 1760 | | |
1761 | 1761 | | |
1762 | 1762 | | |
1763 | | - | |
| 1763 | + | |
1764 | 1764 | | |
1765 | 1765 | | |
1766 | 1766 | | |
1767 | | - | |
| 1767 | + | |
1768 | 1768 | | |
1769 | 1769 | | |
1770 | 1770 | | |
| |||
0 commit comments