Repository navigation
Conversation
67c6fe6 made the mysqldump test expect MARIADB to run the /*!40000 ... */ statements, but the comment above the assertions still says that only the MySQL dialect runs them. MYSQL and MARIADB now expect the same statements, so the test checks them in one loop under a comment that says so, and keeps the separate check that without a dialect the statements stay comments. Signed-off-by: minleejae <mmj9808@gmail.com>
minleejae
force-pushed
the
test/mysqldump-mariadb-executable-comments
branch
from
November 26, 2026 15:27
6fe135c to
5a44ffb
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
67c6fe6 fixed
MySqlLockTablesTest.parsesAMysqldumpScripton master with the expectations this PR had:Dialect.MYSQLandDialect.MARIADBrun the/*!40000 ... */statements of the mysqldump script, and without a dialect they stay comments. This PR is now rebased on e716d5b and keeps only what is left:MYSQLandMARIADBexpect the same seven statements, so they are checked in one loop. The no-dialect case becomes a plain assertion instead of a one-element loop.The expected statements do not change. For reference, MariaDB 11.8.9 runs
/*!40000 ... */, skips/*!50700 ... */and runs/*M!100000 ... */.Validation
MySqlLockTablesTest(75 tests) andMySqlCommentTest(49 tests) pass;checkstyleTestpasses.AI assistance: prepared with Claude Code.