mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
SQL: WHERE top level item [#365 bug 11]
Tests affected (forced mode): main.range main.range_mrr_icp
This commit is contained in:
@ -313,6 +313,11 @@ x
|
||||
execute stmt;
|
||||
x
|
||||
1
|
||||
### Issue #365, bug 11 (WHERE cond not top level item)
|
||||
create or replace table t1 (a int, b int, key idx(a)) with system versioning;
|
||||
insert into t1 values (1, 1), (2, 2);
|
||||
select * from t1 where (a, 2) in ((1, 1), (2, 2)) and b = 1;
|
||||
a b
|
||||
drop view v1;
|
||||
drop table t1, t2;
|
||||
call innodb_verify_vtq(29);
|
||||
@ -346,3 +351,4 @@ No A B C D
|
||||
27 1 1 1 1
|
||||
28 1 1 1 1
|
||||
29 1 1 1 1
|
||||
30 1 1 1 1
|
||||
|
Reference in New Issue
Block a user