mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations
This commit is contained in:
@ -2028,6 +2028,8 @@ $$
|
||||
CALL p1.p1();
|
||||
@a
|
||||
11
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
CALL p1.p1();
|
||||
@a
|
||||
12
|
||||
@ -2059,6 +2061,8 @@ BEGIN
|
||||
SELECT MAX(a) FROM t1 INTO @a;
|
||||
END;
|
||||
$$
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
CALL p1.p1();
|
||||
@a
|
||||
11
|
||||
@ -2092,6 +2096,8 @@ BEGIN
|
||||
SELECT 1 FROM t1 INTO @a;
|
||||
END;
|
||||
$$
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
CALL p1.p1();
|
||||
ERROR 42S02: Table 'test.t1' doesn't exist
|
||||
SELECT p1.f1();
|
||||
@ -2650,6 +2656,9 @@ SELECT * FROM t1 INTO b;
|
||||
SELECT b.a, b.b;
|
||||
END;
|
||||
$$
|
||||
Warnings:
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
Warning 1287 '<select expression> INTO <destination>;' is deprecated and will be removed in a future release. Please use 'SELECT <select list> INTO <destination> FROM...' instead
|
||||
CALL p1.p1;
|
||||
b.a b.b
|
||||
10 b
|
||||
|
Reference in New Issue
Block a user