【标题描述】:
【测试类型:SQL功能/存储功能/接口功能/工具功能/性能/并发/压力长稳/故障注入/安全/资料/编码规范】【测试版本:2.0.0】 问题描述
在兼容b库上,lock table功能在nodes.yml中url的参数为非simple模式下,利用jdbc(yat)运行结果不正确。而在simple模式下(url: 'jdbc:postgresql://127.0.0.1:8989/db1?preferQueryMode=simple'),利用jdbc(yat)运行结果正确
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
CentOS Linux release 7.9.2009 (Core)
Linux mogdb-dev-0008 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
【测试环境】(单机/1主x备x级联备):
单机
【被测功能】:
lock table
【测试类型】:
功能
【数据库版本】(查询命令: gaussdb -V):
openGauss 5.0.0 build ce357b14
【预置条件】:
安装插件
【操作步骤】(请填写详细的操作步骤):
CREATE TABLE t_Opengauss_Compatibility_LOCK_TABLE_Case0007_1 (
id int unsigned auto_increment not null primary key,
title varchar,
bby text,
name name
);
-- 获取读锁
LOCK TABLES t_Opengauss_Compatibility_LOCK_TABLE_Case0007_1 READ;
【预期输出】:
正确
【实际输出】:
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
【测试代码】:
Hey @bulloo, 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 @bulloo,
if you want to get quick review about your issue, please contact the owner in first: @黄凯耀 ,
and then any of the maintainers: @CodeRejector , @黄凯耀
and then any of the committers: @siven_dev , @chenxiaobin , @wumingyuan , @zhaosiqi , @husan1024 , @pengjiong , @吴岳川 , @熊小军 , @xiuqiangwang , @jeremytim
if you have any question, please contact the SIG: Plugin.
5.0.1版本,经验证,已修复
(openGauss 5.0.1 build f766addf) compiled at 2023-10-07 18:06:48 commit 0 last mr on x86_64-unknown-linux-gnu, compiled by g++ (GCC) 7.3.0, 64-bit
登录 后才可以发表评论