mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Bug#12872803 - 62154: FEDERATED.FEDERATED_SERVER TEST FAILS WITH RUN --REPEAT=2
Fixed it to work with "--repeat" option.
This commit is contained in:
@@ -54,7 +54,7 @@ PASSWORD '',
|
||||
PORT SLAVE_PORT,
|
||||
SOCKET '',
|
||||
OWNER 'root');
|
||||
select * from mysql.servers;
|
||||
select * from mysql.servers order by Server_name;
|
||||
Server_name Host Db Username Password Port Socket Wrapper Owner
|
||||
server_one 127.0.0.1 first_db root SLAVE_PORT mysql root
|
||||
server_two 127.0.0.1 second_db root SLAVE_PORT mysql root
|
||||
@@ -154,7 +154,7 @@ id name
|
||||
drop table federated.t1;
|
||||
drop server 'server_one';
|
||||
drop server 'server_two';
|
||||
select * from mysql.servers;
|
||||
select * from mysql.servers order by Server_name;
|
||||
Server_name Host Db Username Password Port Socket Wrapper Owner
|
||||
drop table first_db.t1;
|
||||
drop table second_db.t1;
|
||||
|
||||
@@ -62,7 +62,9 @@ eval create server 'server_two' foreign data wrapper 'mysql' options
|
||||
OWNER 'root');
|
||||
|
||||
--replace_result $SLAVE_MYPORT SLAVE_PORT
|
||||
eval select * from mysql.servers;
|
||||
# Adding 'order by' clause here, in order to maintain consistent result out of the select query.
|
||||
#eval select * from mysql.servers;
|
||||
eval select * from mysql.servers order by Server_name;
|
||||
|
||||
DROP TABLE IF EXISTS federated.old;
|
||||
--replace_result $SLAVE_MYPORT SLAVE_PORT
|
||||
@@ -147,7 +149,9 @@ drop table federated.t1;
|
||||
|
||||
drop server 'server_one';
|
||||
drop server 'server_two';
|
||||
select * from mysql.servers;
|
||||
# Adding 'order by' clause here, in order to maintain consistent result out of the select query.
|
||||
#select * from mysql.servers;
|
||||
eval select * from mysql.servers order by Server_name;
|
||||
|
||||
connection slave;
|
||||
drop table first_db.t1;
|
||||
|
||||
Reference in New Issue
Block a user