Skip to content
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

Fix error when trying to check binlog settings #602

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

cr1sp1n
Copy link
Contributor

@cr1sp1n cr1sp1n commented Jul 12, 2021

When sql_mode contains ANSI_QUOTES mode the " character can be used to enclose identifiers just like `, causing the error below when queries in lines 389 and 404 run.

Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"binlog_format"' at line 1

When sql_mode contains ANSI_QUOTES mode the " character can be used to enclose identifiers just like `, causing the error below when queries in lines 389 and 404 run.

```
Error Code: 1064. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"binlog_format"' at line 1
```
@lance6716 lance6716 merged commit 2eebdb9 into go-mysql-org:master Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants