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

nullify should not change the empty string '' to null in sql args #1

Open
karog opened this issue Nov 2, 2014 · 0 comments
Open

nullify should not change the empty string '' to null in sql args #1

karog opened this issue Nov 2, 2014 · 0 comments

Comments

@karog
Copy link

karog commented Nov 2, 2014

The empty string '' is a valid non-NULL value in MySQL. The function nullify used to check args for sql queries should not change this. Columns defined as VARCHAR(n) NOT NULL will error when trying to set the value to NULL but properly work for ''.

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

No branches or pull requests

1 participant