mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
After-merge fix: fix the test case for BUG#16266 to query
only its own tables to prevent getting tables from others.
This commit is contained in:
@ -862,8 +862,8 @@ START SLAVE;
|
|||||||
SELECT MASTER_POS_WAIT('master-bin.000001', 513) >= 0;
|
SELECT MASTER_POS_WAIT('master-bin.000001', 513) >= 0;
|
||||||
MASTER_POS_WAIT('master-bin.000001', 513) >= 0
|
MASTER_POS_WAIT('master-bin.000001', 513) >= 0
|
||||||
1
|
1
|
||||||
SHOW TABLES;
|
SHOW TABLES LIKE 't_';
|
||||||
Tables_in_test
|
Tables_in_test (t_)
|
||||||
t1
|
t1
|
||||||
t2
|
t2
|
||||||
SHOW TRIGGERS;
|
SHOW TRIGGERS;
|
||||||
@ -891,8 +891,8 @@ DROP TABLE t1;
|
|||||||
DROP TABLE t2;
|
DROP TABLE t2;
|
||||||
STOP SLAVE;
|
STOP SLAVE;
|
||||||
RESET SLAVE;
|
RESET SLAVE;
|
||||||
SHOW TABLES;
|
SHOW TABLES LIKE 't_';
|
||||||
Tables_in_test
|
Tables_in_test (t_)
|
||||||
SHOW TRIGGERS;
|
SHOW TRIGGERS;
|
||||||
Trigger Event Table Statement Timing Created sql_mode Definer
|
Trigger Event Table Statement Timing Created sql_mode Definer
|
||||||
RESET MASTER;
|
RESET MASTER;
|
||||||
|
@ -301,7 +301,7 @@ SELECT MASTER_POS_WAIT('master-bin.000001', 513) >= 0;
|
|||||||
|
|
||||||
# Check that the replication succeeded.
|
# Check that the replication succeeded.
|
||||||
|
|
||||||
SHOW TABLES;
|
SHOW TABLES LIKE 't_';
|
||||||
SHOW TRIGGERS;
|
SHOW TRIGGERS;
|
||||||
SELECT * FROM t1;
|
SELECT * FROM t1;
|
||||||
SELECT * FROM t2;
|
SELECT * FROM t2;
|
||||||
@ -326,7 +326,7 @@ RESET SLAVE;
|
|||||||
# The master should be clean.
|
# The master should be clean.
|
||||||
|
|
||||||
connection master;
|
connection master;
|
||||||
SHOW TABLES;
|
SHOW TABLES LIKE 't_';
|
||||||
SHOW TRIGGERS;
|
SHOW TRIGGERS;
|
||||||
|
|
||||||
RESET MASTER;
|
RESET MASTER;
|
||||||
|
Reference in New Issue
Block a user