1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

cleanup: get rid of a SQL warning in a test

This commit is contained in:
Sergei Golubchik
2018-10-14 18:05:40 +02:00
parent 92bde77826
commit dfbba3d202
110 changed files with 1 additions and 30425 deletions

View File

@ -9,10 +9,6 @@ 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;
@ -23,10 +19,6 @@ 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;
@ -39,10 +31,6 @@ 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;
@ -53,10 +41,6 @@ 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;