patch 4.0
This commit is contained in:
@ -26,13 +26,17 @@ select * from t1 order by c2 limit 1, 10;
|
||||
## case 4 ##
|
||||
|
||||
## with no-column predicate
|
||||
select * from (select * from t1 order by c2 desc) a where 1=1 limit 1, 10;
|
||||
# TODO shengle, core in pre calc expr, mysqltest not core, may unitest problem
|
||||
# https://work.aone.alibaba-inc.com/issue/37559700
|
||||
# select * from (select * from t1 order by c2 desc) a where 1=1 limit 1, 10;
|
||||
select * from t1 order by c2 limit 1, 10;
|
||||
|
||||
## case 5 ##
|
||||
|
||||
## with no-column predicate
|
||||
select * from (select * from t1 order by c2 desc) a where (1=1) and (0=0) limit 1, 10;
|
||||
# TODO shengle, core in pre calc expr, mysqltest not core, may unitest problem
|
||||
# https://work.aone.alibaba-inc.com/issue/37559700
|
||||
# select * from (select * from t1 order by c2 desc) a where (1=1) and (0=0) limit 1, 10;
|
||||
select * from t1 order by c2 limit 1, 10;
|
||||
|
||||
## case 6 ##
|
||||
|
Reference in New Issue
Block a user