Skip to content

Commit 073c4b3

Browse files
committed
Correct the comment about corpus failures
The comment listed unsupported statements and session-dependent or lexer edge cases, and pointed to the README, which doesn't cover them. The lexer and the corpus now handle those, and the remaining queries are multi-statement input.
1 parent 30ac059 commit 073c4b3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎packages/mysql-parser/tests/WP_MySQL_Server_Suite_Parser_Tests.php‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ class WP_MySQL_Server_Suite_Parser_Tests extends TestCase {
1313
const FAILURES_PATH = __DIR__ . '/data/corpus-failures.csv';
1414

1515
/**
16-
* The exact corpus tally: rejected queries are multi-statement input, a few
17-
* unsupported statements (such as LANGUAGE JAVASCRIPT function bodies), and
18-
* session-dependent or lexer edge cases (see the README). The exact failing
19-
* set is pinned in FAILURES_PATH; update it when the accepted language
20-
* legitimately changes.
16+
* The exact corpus tally. The rejected queries are multi-statement input, which
17+
* needs the CLIENT_MULTI_STATEMENTS client flag. MySQL rejects them too without it.
18+
*
19+
* The exact failing set is pinned in FAILURES_PATH; update it when the accepted
20+
* language legitimately changes.
2121
*/
2222
const EXPECTED_QUERIES = 69319;
2323
const EXPECTED_FAILURES = 43;

0 commit comments

Comments
 (0)