mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.3 into 10.4
This commit is contained in:
@ -1151,3 +1151,13 @@ b
|
||||
1
|
||||
3
|
||||
drop tables t1, t2;
|
||||
#
|
||||
# MDEV-22464 Server crash on UPDATE with nested subquery
|
||||
#
|
||||
create table t1 (a int) ;
|
||||
insert into t1 (a) values (1),(2),(3) ;
|
||||
select a from t1 where a= (select 2 from t1 having (a = 3));
|
||||
ERROR 21000: Subquery returns more than 1 row
|
||||
update t1 set a= (select 2 from t1 having (a = 3));
|
||||
ERROR 21000: Subquery returns more than 1 row
|
||||
drop tables t1;
|
||||
|
Reference in New Issue
Block a user