mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
SQL: fix subquery not a derived table [#365 bug 9]
Tests affected (forced mode): main.ps \ main.user_var \ main.myisam_explain_non_select_all \ main.opt_tvc \ main.subselect \ main.subselect_no_exists_to_in \ main.derived \ main.derived_opt \ main.update
This commit is contained in:
@ -298,6 +298,10 @@ create or replace table t2 (b int) with system versioning;
|
||||
select * from t1
|
||||
where exists (select 1 from t2 where t2.b = t1.a and t2.b = t1.a);
|
||||
a
|
||||
### Issue #365, bug 9 (not a derived subquery)
|
||||
create or replace table t1 (x int) with system versioning;
|
||||
select t1.x in (select x from t1) a from t1, (select x from t1) b;
|
||||
a
|
||||
drop view v1;
|
||||
drop table t1, t2;
|
||||
call innodb_verify_vtq(28);
|
||||
|
Reference in New Issue
Block a user