-
-
Notifications
You must be signed in to change notification settings - Fork 557
New issue
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
ddl dml 切换执行报错 #182
Comments
goincetion 版本 1.2.1 |
下述步骤经测试是成功的. drop table if exists t1,t2;
create table t1(id int primary key,c1 int);
insert into t1 values(1,1),(2,2);
alter table t1 add column c2 int;
insert into t1 values(3,3,3);
drop table if exists t1,t2;
create table t2(id int primary key,c1 int);
insert into t2 values(3,3);
需要提供调用参数和SQL示例. |
执行你发的上述sql 我的也是成功的 我的报错sql: INSERT INTO DROP TABLE IF EXISTS 我把insert 语句放在最后就不会报错啦 |
开启事务导致的,后续会修复。 |
fix: 修复在事务中DDL和DML混合执行时可能出错的问题 (#182)
该问题已修复. 更新最新版本即可. |
由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
描述
执行完DDL 执行DML 然后再切换到ddl 会报错
重现
模拟重现的步骤
建表 插入语句 再建表时报错. no database selected
环境
参数
可能与问题相关的设置参数
The text was updated successfully, but these errors were encountered: