Repository navigation
Commit 7af8f11
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 3ebf620 commit 7af8f11
3 files changed
Lines changed: 89 additions & 14 deletions
File tree
- packages/mysql-parser
- data/mysql-server-query-corpus
- tests
- tools
0 commit comments