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
Vitess treats everything after -- as a comment while MySQL treats everything after -- as a comment. (Notice the space). This means that the query SET @S = --4 is valid on MySQL but Vitess throws a parsing error.
Reproduction Steps
The issue can be reproduced by adding a test case to the parser tests.
The text was updated successfully, but these errors were encountered:
Overview of the Issue
Vitess treats everything after
--
as a comment while MySQL treats everything after--
as a comment. (Notice the space). This means that the querySET @S = --4
is valid on MySQL but Vitess throws a parsing error.Reproduction Steps
The issue can be reproduced by adding a test case to the parser tests.
The text was updated successfully, but these errors were encountered: