We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SQLe Version main 201d68a
Describe the bug SQLE panic when trigger pt-osc suggestion
To Reproduce Steps to reproduce the behavior:
CREATE DATABASE `t1`; CREATE TABLE `t1`.`fruits` ( `id` bigint(11) NOT NULL, `uid` int(11) NOT NULL DEFAULT '0', `name` varchar(100) NOT NULL DEFAULT '0', PRIMARY KEY (`id`) )
alter table fruits add column create_date TIMESTAMP default current_timestamp
Expected behavior 正常提示 pt-osc 建议
The text was updated successfully, but these errors were encountered:
目测是 Inspect.inst对象在重构过程中丢失了赋值
Inspect
inst
Sorry, something went wrong.
Version: "main 4e6cf6f" 复现成功 1.创建测试库表 CREATE DATABASE t1; CREATE TABLE t1.fruits ( id bigint(11) NOT NULL, uid int(11) NOT NULL DEFAULT '0', name varchar(100) NOT NULL DEFAULT '0', PRIMARY KEY (id) ) 2.enable rule "改表时,表空间超过指定大小(MB)审核时输出osc改写建议", 可以将配置最大表空间调小,例如:“0",降低触发条件 3.提交审核工单,SQL语句: alter table fruits add column create_date TIMESTAMP default current_timestamp 4.查看sqle的pid文件发现进程已经发生了变化
t1
fruits
id
uid
name
Version: "release-1.2112.x-ee cc48d26174ad061aefcd600aada7a38a2e5f8ec9" 验证通过 验证步骤
1.创建测试库表 CREATE DATABASE t1; CREATE TABLE t1.fruits ( id bigint(11) NOT NULL, uid int(11) NOT NULL DEFAULT '0', name varchar(100) NOT NULL DEFAULT '0', PRIMARY KEY (id) ) 2.enable rule "改表时,表空间超过指定大小(MB)审核时输出osc改写建议", 可以将配置最大表空间调小,例如:“0",降低触发条件 3.提交审核工单,SQL语句: alter table fruits add column create_date TIMESTAMP default current_timestamp 4.查看sqle的pid文件没有发生任何变化
Merge pull request #130 from actiontech/main
945a0a4
merge Main to ee
drivebyer
No branches or pull requests
SQLe Version
main 201d68a
Describe the bug
SQLE panic when trigger pt-osc suggestion
To Reproduce
Steps to reproduce the behavior:
Expected behavior
正常提示 pt-osc 建议
The text was updated successfully, but these errors were encountered: