Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
13b26548
Commit
13b26548
authored
Jan 06, 2012
by
Hemant Kumar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#12872803 - 62154: FEDERATED.FEDERATED_SERVER TEST FAILS WITH RUN --REPEAT=2
Fixed it to work with "--repeat" option.
parent
b03c1541
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
mysql-test/suite/federated/federated_server.result
mysql-test/suite/federated/federated_server.result
+2
-2
mysql-test/suite/federated/federated_server.test
mysql-test/suite/federated/federated_server.test
+6
-2
No files found.
mysql-test/suite/federated/federated_server.result
View file @
13b26548
...
...
@@ -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;
...
...
mysql-test/suite/federated/federated_server.test
View file @
13b26548
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment