-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: split sql wrongly like INSERT INTO timestamp VALUES ('1900-1-1 00;00;00');
#68
Comments
Looks like this regression was introduced in #63 cc @jiacai2050 We need to make a new release after this is fixed. Maybe |
Why you use |
It's a test for parsing incorrect timestamp, so many corner cases for handling timestamp are covered |
Got it. I already submit a PR fix this, will make a release today. |
Thank you @jiacai2050 👍 |
Describe this problem
Current version of sqlness parse sql wrongly and will split this sql into three separate ones:
This is due to this place simply split sql by
;
instead of checking it semantic meaning:sqlness/sqlness/src/case.rs
Line 157 in 5469532
Steps to reproduce
will make sqlness think the last sql is three sql:
Expected behavior
not splitting sql
Additional Information
No response
The text was updated successfully, but these errors were encountered: