1
0
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:
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

@ -9,6 +9,10 @@ connection master;
TRUNCATE TABLE t1;
connection slave;
include/diff_tables.inc [master:t1, slave:t1]
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
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
==== Test using a table with delete triggers ====
connection master;
SET @count := 1;
@ -19,6 +23,10 @@ connection master;
TRUNCATE TABLE t1;
connection slave;
include/diff_tables.inc [master:t2, slave:t2]
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
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
connection master;
DROP TABLE t1,t2;
connection slave;
@ -31,6 +39,10 @@ connection master;
DELETE FROM t1;
connection slave;
include/diff_tables.inc [master:t1, slave:t1]
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
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
==== Test using a table with delete triggers ====
connection master;
SET @count := 1;
@ -41,6 +53,10 @@ connection master;
DELETE FROM t1;
connection slave;
include/diff_tables.inc [master:t2, slave:t2]
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
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
connection master;
DROP TABLE t1,t2;
connection slave;