-
-
Notifications
You must be signed in to change notification settings - Fork 557
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
enable_nullable选项没有起作用 #113
Comments
如果列不允许为空的话,在insert时会自检测,不允许写入NULL值(这是数据库本身的强限制,无法跳过的,和审核选项无关)。 |
在这个SQL里面 |
hanchuanchuan
added a commit
that referenced
this issue
Nov 18, 2019
hanchuanchuan
added a commit
that referenced
this issue
Nov 18, 2019
fix: 修复非空字段insert审核时对自增列的处理 (#113)
该问题已修复,已发布 V1.1.4 |
已修复,谢谢作者! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
描述
不管把enable_nullable设为true或者false,含有NULL的insert语句都不能执行。
而且文档里面写enable_nullable默认是false,但是配置文件里面没有配置这个参数的情况下,
inception show variables
查询这个参数值为true重现
检测出现错误:
环境
数据库: mysql
版本: 5.6.39
goInception版本:1.1.3
参数
The text was updated successfully, but these errors were encountered: