已关闭
[Bug]: use_bison_parser=true,alter语句识别128M错误 #310
hcs创建于  8月5日关闭于  18 天前
hcs
hcs成员
8月5日 创建

测试类型

SQL功能

测试版本

7.0.0LTS

问题描述

操作系统和硬件信息

任意

测试环境

oGRAC单节点

被测功能

预置条件

操作步骤

-- 原生解析器:成功
alter system set use_bison_parser = false;
alter system set backup_buffer_size = 256M scope = memory;
show parameters backup_buffer_size;
alter system set backup_buffer_size = '128M' scope = memory;
show parameters backup_buffer_size;

-- 切回 Bison
alter system set use_bison_parser = true;

alter system set backup_buffer_size = 256M scope = memory;
show parameters backup_buffer_size;
alter system set backup_buffer_size = '512M' scope = memory;
show parameters backup_buffer_size;

预期输出

Succeed.

实际输出

OG-00601, [1:39]Sql syntax error: syntax error

日志信息

image.png

提单组织

内部开发

测试代码

likedislike
hcshcs成员
8月5日 添加了label:bug
opengauss_botopengauss_bot成员
8月5日 添加了label:sig/StorageEngine
opengauss_bot
opengauss_bot成员
8月5日 评论:

Welcome To openGauss Community

Hey @Nerifish , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: StorageEngine ,
and any of the maintainers: @CarrotGo, @chendong76, @chenxiaobin19, @congzhou2603, @dodders, @hwworkholic, @jemappellehc, @muyulinzhong, @quemingjian, @shenzheng4, @shirley_zhengx, @superlchf, @totaj, @wlff234, @wofanzheng, @ywzq1161327784 ,
and any of the committers: @CityYard, @libiao2024, @lijieac, @theothersideofsea, @wang_bowen, @weithu, @xiong_xjun, @yuanyazhi, @zhangzq131 .

likedislike
hcshcs成员
8月5日 关联了pull request:refactor shared bison grammar glue
sungang14sungang14成员
8月6日 issue优先级由 无优先级 改变为 主要
sungang14sungang14成员
8月6日 关联了看板:openGauss 7.0.0-LTS
hcshcs成员
8月7日 删除了关联的pull request:refactor shared bison grammar glue
hcshcs成员
8月14日 关联了pull request:Refactor bison ALTER SYSTEM parameter verification
hcs
hcs成员
23 天前 评论:

image.png

likedislike
hcshcs成员
23 天前 issue状态由 待办的 改变为 待回归
yangl_
yangl_成员
20 天前 评论:

回归结论:通过
回归过程:
image.png
image.png

likedislike
liuzhen001liuzhen001成员
18 天前 issue状态由 待回归 改变为 已完成
liuzhen001liuzhen001成员
18 天前 issue状态由 已完成 改变为 已验收
liuzhen001liuzhen001成员
18 天前 关闭了 issue