You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b991dad
Browse filesBrowse the repository at this point in the historyBrowse files
fix: apply the MySQL comment rules to Dialect.MARIADB
The -- whitespace rule and executable comments were only lexed the
MySQL way under Dialect.MYSQL. MariaDB follows the same rules and also
runs /*M! ... */, so under MARIADB SQL the server executes was dropped
as a comment: SELECT 1 /*M! UNION SELECT pw FROM secrets */ parsed as
SELECT 1. The rules now apply to MARIADB as well, with MariaDB's own
version handling: a sixth digit always belongs to the version, and
/*!50700 through /*!99999 are skipped while /*M! ones are not.
0 commit comments