1
0
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:
Oleksandr Byelkin
2018-05-22 19:08:39 +02:00
parent 1b981b9edb
commit de745ecf29
298 changed files with 36118 additions and 3473 deletions

View File

@ -2546,25 +2546,21 @@ end $$
call test_signal $$
drop procedure test_signal $$
-- error ER_BAD_FIELD_ERROR
create procedure test_signal()
begin
DECLARE foo CONDITION FOR SQLSTATE '12345';
SIGNAL foo SET MYSQL_ERRNO = `65`; /* illegal */
end $$
-- error ER_BAD_FIELD_ERROR
call test_signal $$
drop procedure test_signal $$
-- error ER_BAD_FIELD_ERROR
create procedure test_signal()
begin
DECLARE foo CONDITION FOR SQLSTATE '12345';
SIGNAL foo SET MYSQL_ERRNO = `A`; /* illegal */
end $$
-- error ER_BAD_FIELD_ERROR
call test_signal $$
drop procedure test_signal $$
create procedure test_signal()
begin
@ -2620,6 +2616,7 @@ end $$
call test_signal $$
drop procedure test_signal $$
-- error ER_BAD_FIELD_ERROR
create procedure test_signal()
begin
DECLARE foo CONDITION FOR SQLSTATE '12345';
@ -2627,10 +2624,6 @@ begin
MESSAGE_TEXT = `Hello`;
end $$
-- error ER_BAD_FIELD_ERROR
call test_signal $$
drop procedure test_signal $$
create procedure test_signal()
begin
DECLARE foo CONDITION FOR SQLSTATE '12345';