-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Problem with database/sql Nullable struct #706
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
Comments
Is it correct that you have 3 fields in your fields list but only 2 placeholders and values? |
|
@julienschmidt : @percona-csalguero : thanks for your quick look, I have updated the code above. |
Is then maybe #708 the reason? |
Issue description
Problem with insert/update null field using sql.NullInt64 and others
database/sql
Nullable structExample code
Error log
Configuration
Driver version (or git SHA): v1.3-46-g78d399c
Go version: go1.9.2 darwin/amd64
Server version: MariaDB 10.2
Server OS: MacOS X 10.13.1
The text was updated successfully, but these errors were encountered: