提交 d9b371e9 authored 作者: Thomas Mueller's avatar Thomas Mueller

Fix nightly build

上级 b7443b31
...@@ -109,10 +109,14 @@ public class TestAlter extends TestBase { ...@@ -109,10 +109,14 @@ public class TestAlter extends TestBase {
} }
/** /**
* Tests a bug we used to have where altering the name of a column that had a check constraint * Tests a bug we used to have where altering the name of a column that had
* that referenced itself would result in not being able to re-open the DB. * a check constraint that referenced itself would result in not being able
* to re-open the DB.
*/ */
private void testAlterTableAlterColumnWithConstraint() throws SQLException { private void testAlterTableAlterColumnWithConstraint() throws SQLException {
if (config.memory) {
return;
}
stat.execute("create table test(id int check(id in (1,2)) )"); stat.execute("create table test(id int check(id in (1,2)) )");
stat.execute("alter table test alter id rename to id2"); stat.execute("alter table test alter id rename to id2");
// disconnect and reconnect // disconnect and reconnect
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论