401 Star 1.4K Fork 1.5K

GVPopenGauss / openGauss-server

 / 详情

||用法不兼容

已验收
缺陷
创建于  
2023-11-08 10:42

操作系统】:openEuler
【数据库版本】:openGauss 5.0.0
【问题描述】:||用法不兼容,SQL报语法错误,同语句在MySQL中可以正常执行。
MySQL 5.7中测试执行情况如下:
输入图片说明
openGauss 5.0.0中测试执行情况如下:
输入图片说明

评论 (10)

haoq 创建了缺陷

Hey @haoq, 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.

Hi @haoq, please use the command /sig xxx to add a SIG label to this issue.
For example: /sig sqlengine or /sig storageengine or /sig om or /sig ai and so on.
You can find more SIG labels from Here.
If you have no idea about that, please contact with @xiangxinyong , @zhangxubo .

jiexiao1413 负责人设置为吴岳川
pengjiong 负责人吴岳川 修改为李居隆
pengjiong 添加协作者吴岳川

@李居隆 sql_mode中是否包含 Pipes_as_concat,mysql那边都可执行,openGauss不行,两种场景都要兼容

李居隆 任务状态待办的 修改为已确认
李居隆 任务状态已确认 修改为修复中
李居隆 通过opengauss/Plugin Pull Request !1140任务状态修复中 修改为已完成

@haoq 这里回归测试的时候要注意sql_mode的参数是否包含Pipes_as_concat

李居隆 任务状态已完成 修改为待回归
jiexiao1413 任务状态待回归 修改为测试中
wan005 添加协作者邹佳良

时间:2023/11/27
版本:(openGauss 5.1.1 build 6460c491) compiled at 2023-11-23 00:09:51 commit 0 last mr on x86_64-unknown-linux-gnu, compiled by g++ (GCC) 10.3.0,64-bit
结论:通过
输入图片说明

邹佳良 任务状态测试中 修改为已验收

时间:2023/11/27
版本:(openGauss 5.1.1 build 6460c491) compiled at 2023-11-23 00:09:51 commit 0 last mr on x86_64-unknown-linux-gnu, compiled by g++ (GCC) 10.3.0,64-bit
结论:不通过
输入图片说明

@邹佳良 为什么这个结论写的是不通过,你这个截图的测试结果不是和mysql表现一致吗

@邹佳良 为什么这个结论写的是不通过,你这个截图的测试结果不是和mysql表现一致吗

@李居隆 笔误,已修改

5.0.1
时间:2023/11/29
版本:(openGauss 5.0.1 build d855a18f) compiled at 2023-11-28 19:14:36 commit 0 last mr on x86_64-unknown-linux-gnu, compiled by g++ (GCC) 7.3.0, 64-bit
结论:通过
输入图片说明

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(6)
13084139 opengauss bot 1686829535
C++
1
https://gitee.com/opengauss/openGauss-server.git
git@gitee.com:opengauss/openGauss-server.git
opengauss
openGauss-server
openGauss-server

搜索帮助