提交 9ed50ccb authored 作者: noelgrandin's avatar noelgrandin

prevent spurious test error

上级 3213859f
...@@ -331,7 +331,7 @@ public class TestCompatibility extends TestBase { ...@@ -331,7 +331,7 @@ public class TestCompatibility extends TestBase {
conn.close(); conn.close();
conn = getConnection("compatibility;MODE=DB2"); conn = getConnection("compatibility;MODE=DB2");
stat = conn.createStatement(); stat = conn.createStatement();
stat.execute("drop table test"); stat.execute("drop table test if exists");
stat.execute("create table test(id varchar)"); stat.execute("create table test(id varchar)");
stat.execute("insert into test values ('3'),('1'),('2')"); stat.execute("insert into test values ('3'),('1'),('2')");
res = stat.executeQuery("select id from test order by id fetch next 2 rows only"); res = stat.executeQuery("select id from test order by id fetch next 2 rows only");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论