mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Removed "<select expression> INTO <destination>" deprication.
This was done after discussions with Igor, Sanja and Bar. The main reason for removing the deprication was to ensure that MariaDB is always backward compatible whenever possible. Other things: - Added statistics counters, mainly for the feedback plugin. - INTO OUTFILE - INTO variable - If INTO is using the old syntax (end of query)
This commit is contained in:
@ -2136,8 +2136,6 @@ SELECT * FROM t1 INTO rec1;
|
||||
SELECT rec1.a, rec1.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
|
||||
CALL p1();
|
||||
ERROR 21000: The used SELECT statements have a different number of columns
|
||||
DROP TABLE t1;
|
||||
@ -2152,8 +2150,6 @@ SELECT * FROM t1 INTO rec1, rec1;
|
||||
SELECT rec1.a, rec1.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
|
||||
CALL p1();
|
||||
ERROR 21000: Operand should contain 2 column(s)
|
||||
DROP TABLE t1;
|
||||
@ -2168,8 +2164,6 @@ SELECT * FROM t1 INTO rec1;
|
||||
SELECT rec1.a, rec1.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
|
||||
CALL p1();
|
||||
rec1.a rec1.b
|
||||
10 b10
|
||||
|
Reference in New Issue
Block a user