mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations
This commit is contained in:
@ -94,7 +94,7 @@ insert into t2 values(0, 0), (1, 20), (2, 30);
|
||||
commit;
|
||||
|
||||
connection con1;
|
||||
select a,b from t2 UNION SELECT id, x from t1 FOR UPDATE;
|
||||
select a,b from t2 UNION (SELECT id, x from t1 FOR UPDATE);
|
||||
select * from t2;
|
||||
select * from t1;
|
||||
|
||||
|
Reference in New Issue
Block a user