mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
bf10578fde
Fix for the bug in mysql-test-run.pl which prevents other tests succeed after IM-test failure. The idea of the fix of BUG#20716 is to: 1. Check each SHOW INSTANCES statement, add necessary "sleep" instruction before; 2. Move all environment checkings into the one file and include it everywhere.
23 lines
469 B
Text
23 lines
469 B
Text
Success: the process has been started.
|
|
SHOW VARIABLES LIKE 'server_id';
|
|
Variable_name Value
|
|
server_id 1
|
|
SHOW INSTANCES;
|
|
instance_name status
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
SET mysqld1.server_id = 11;
|
|
server_id =11
|
|
server_id = 2
|
|
SHOW VARIABLES LIKE 'server_id';
|
|
Variable_name Value
|
|
server_id 1
|
|
SET mysqld2.server_id = 12;
|
|
server_id =11
|
|
server_id =12
|
|
FLUSH INSTANCES;
|
|
server_id =11
|
|
server_id =12
|
|
SHOW VARIABLES LIKE 'server_id';
|
|
Variable_name Value
|
|
server_id 1
|