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

Support SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO' #8584

Closed
timsehn opened this issue Nov 22, 2024 · 0 comments · Fixed by dolthub/go-mysql-server#2759
Closed

Support SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO' #8584

timsehn opened this issue Nov 22, 2024 · 0 comments · Fixed by dolthub/go-mysql-server#2759
Labels
bug Something isn't working correctness We don't return the same result as MySQL customer issue import

Comments

@timsehn
Copy link
Contributor

timsehn commented Nov 22, 2024

A user has a dump that uses:

/*!40101 SET SQL_MODE='NO_AUTO_VALUE_ON_ZERO,'*/

This fails with:

Failed to execute statement: value  was not found in the set (1105)

I think it is an unsupported value. But I'm also not sure if the trailing comma messes us up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctness We don't return the same result as MySQL customer issue import
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant