【标题描述】:当sql_ignore_strategy=ignore_null,insert ignore 向非空约束的表中插入null值,实际未插入,应回显insert 0 0
【测试类型:SQL功能】【测试版本:master】 当sql_ignore_strategy=ignore_null,insert /*+ ignore_error */向非空约束的表中插入null值,实际未插入,应回显insert 0 0
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
CentOS Linux release 7.6.1908 (Core)
Linux kwemhisprc01300 3.10.0-1062.el7.x86_64 #1 SMP Wed Aug 7 18:08:02 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
【测试环境】(单机/1主x备x级联备):
单机
【被测功能】:
ignore
【测试类型】:
功能测试
【数据库版本】(查询命令: gaussdb –V):
gaussdb (openGauss 3.0.0 build ) compiled at 2022-06-27 17:35:01 commit 0 last mr
【预置条件】:
已安装opengauss
enable_opfusion=on
sql_ignore_strategy=ignore_null
【操作步骤】(请填写详细的操作步骤):
【预期输出】:
回显insert 0 0
【实际输出】:
回显insert 0 1
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
【测试代码】:
Hey @lixin, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
issue为plugin仓原issue:#I5EKSY:【测试类型:SQL功能】【测试版本:master】 当sql_ignore_strategy=ignore_null,insert ignore 向非空约束的表中插入null值,实际未插入,应回显insert 0 0
因需更改server仓代码,所以issue迁移至此。
gaussdb (openGauss 3.0.0 build ) compiled at 2022-07-25 10:27:47 commit 0 last mr
兼容B库,无dolphin插件场景,已验证修复
gaussdb (openGauss 3.0.0 build ) compiled at 2022-07-25 10:27:47 commit 0 last mr
编译安装dolphin插件、兼容B库场景,已验证修复
登录 后才可以发表评论