提交 65f8ca58 authored 作者: S.Vladykin's avatar S.Vladykin

More tests for select expressions in/with subqueries.

上级 14268b9c
...@@ -374,7 +374,7 @@ public class TestTableEngines extends TestBase { ...@@ -374,7 +374,7 @@ public class TestTableEngines extends TestBase {
stat.execute("create table EXPR_TEST2(id int) ENGINE \"" + stat.execute("create table EXPR_TEST2(id int) ENGINE \"" +
TreeSetIndexTableEngine.class.getName() + "\""); TreeSetIndexTableEngine.class.getName() + "\"");
stat.executeQuery("select * from (select (select 1 from " stat.executeQuery("select * from (select (select 1 from "
+ "(select 2 from EXPR_TEST2) ZZ) from dual)").next(); + "(select (select 2 from EXPR_TEST) from EXPR_TEST2) ZZ) from dual)").next();
// test select expression plan // test select expression plan
stat.execute("create table test_plan(id int primary key, name varchar)"); stat.execute("create table test_plan(id int primary key, name varchar)");
stat.execute("create index MY_NAME_INDEX on test_plan(name)"); stat.execute("create index MY_NAME_INDEX on test_plan(name)");
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论