Repository navigation
Commit 686f3c4
committed
Split MySQL test files only on LF and CRLF
The query corpus extractor also split lines on a vertical tab, a form feed, and a bare carriage return, and turned them into line feeds. MySQL's comments.test uses each of them on purpose after a version comment, so six distinct queries collapsed into their line feed versions after deduplication.
mysqltest ends a line only on LF and CRLF. The regenerated corpus has these six queries back, and they all parse.1 parent f79b9b3 commit 686f3c4
3 files changed
Lines changed: 16 additions & 5 deletions
File tree
- packages/mysql-parser
- data/mysql-server-query-corpus
- tests
- tools
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5765 | 5765 | | |
5766 | 5766 | | |
5767 | 5767 | | |
| 5768 | + | |
| 5769 | + | |
| 5770 | + | |
5768 | 5771 | | |
5769 | 5772 | | |
5770 | 5773 | | |
5771 | 5774 | | |
5772 | 5775 | | |
| 5776 | + | |
| 5777 | + | |
| 5778 | + | |
5773 | 5779 | | |
5774 | 5780 | | |
5775 | 5781 | | |
| |||
57565 | 57571 | | |
57566 | 57572 | | |
57567 | 57573 | | |
57568 | | - | |
57569 | | - | |
| 57574 | + | |
57570 | 57575 | | |
57571 | 57576 | | |
57572 | 57577 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
233 | 235 | | |
234 | 236 | | |
235 | 237 | | |
| |||
0 commit comments