Repository navigation
Commit 4fa2fe0
committed
Apply --error only to the next command in the corpus extractor
In mysqltest, any other command ends an expected error. The extractor kept it
until the next query, so after "--error 1" and "--exec ...", it skipped a query
that isn't expected to fail. This left out 53 queries, which all parse.
https://github.com/mysql/mysql-server/blob/mysql-8.4.10/client/mysqltest.cc#L102761 parent 9841ced commit 4fa2fe0
3 files changed
Lines changed: 89 additions & 14 deletions
File tree
- packages/mysql-parser
- data/mysql-server-query-corpus
- tests
- tools
0 commit comments