-
Notifications
You must be signed in to change notification settings - Fork 976
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
Problems occur when parsing sql_mode #1904
Comments
cahlchang
changed the title
Fixed sql_mode parser issue
Problems occur when parsing sql_mode
Feb 15, 2019
Confirm the aforementioned behavior. Hope, it will be fixed in the upcoming update. |
renecannao
added a commit
that referenced
this issue
Mar 22, 2019
Fixed in ProxySQL 2.0.4. |
Thanks to improve! |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the failure in the parser with following SQL.
issue
This SQL statement is often used in combination of RoR 5 and MySQL 5.
In the current parser, I assumed only one CONCAT function, it seemed that the interpretation of the regular expression was wrong.
see
https://github.com/sysown/proxysql/blob/v2.0.2/lib/set_parser.cpp#L38
The following error sentence can be seen.
I resolved this problem. I’ll send a PR, review it please.
version
Reproduction
A driver that pools connection such as RoR 5, when nesting two or more CONCAT functions.
error log
Repeat it.
core dump
Although accurate reproduction has not been obtained, the next core dump was found.
The text was updated successfully, but these errors were encountered: