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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
dad0d8ca
Commit
dad0d8ca
authored
Jun 29, 2006
by
knielsen@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test files to work with non-standard ports (MTR_BUILD_THREAD).
parent
87e88fe7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
mysql-test/r/federated.result
mysql-test/r/federated.result
+4
-4
mysql-test/t/federated.test
mysql-test/t/federated.test
+4
-0
No files found.
mysql-test/r/federated.result
View file @
dad0d8ca
...
...
@@ -1605,8 +1605,8 @@ DROP TABLE federated.t1;
DROP TABLE federated.bug_17377_table;
create table federated.t1 (i1 int, i2 int, i3 int);
create table federated.t2 (id int, c1 varchar(20), c2 varchar(20));
create table federated.t1 (i1 int, i2 int, i3 int) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:
9308
/federated/t1';
create table federated.t2 (id int, c1 varchar(20), c2 varchar(20)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:
9308
/federated/t2';
create table federated.t1 (i1 int, i2 int, i3 int) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:
SLAVE_PORT
/federated/t1';
create table federated.t2 (id int, c1 varchar(20), c2 varchar(20)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:
SLAVE_PORT
/federated/t2';
insert into federated.t1 values (1,5,10),(3,7,12),(4,5,2),(9,10,15),(2,2,2);
insert into federated.t2 values (9,"abc","def"),(5,"opq","lmn"),(2,"test t","t test");
select * from federated.t1 order by i1;
...
...
@@ -1648,8 +1648,8 @@ drop table federated.t1, federated.t2;
drop table federated.t1, federated.t2;
create table federated.t1 (i1 int, i2 int, i3 int, primary key (i1));
create table federated.t2 (id int, c1 varchar(20), c2 varchar(20), primary key (id));
create table federated.t1 (i1 int auto_increment not null, i2 int, i3 int, primary key (i1)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:
9308
/federated/t1';
create table federated.t2 (id int auto_increment not null, c1 varchar(20), c2 varchar(20), primary key(id)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:
9308
/federated/t2';
create table federated.t1 (i1 int auto_increment not null, i2 int, i3 int, primary key (i1)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:
SLAVE_PORT
/federated/t1';
create table federated.t2 (id int auto_increment not null, c1 varchar(20), c2 varchar(20), primary key(id)) ENGINE=FEDERATED CONNECTION='mysql://root@127.0.0.1:
SLAVE_PORT
/federated/t2';
insert into federated.t1 values (1,5,10),(3,7,12),(4,5,2),(9,10,15),(2,2,2);
insert into federated.t2 values (9,"abc","def"),(5,"opq","lmn"),(2,"test t","t test");
select * from federated.t1 order by i1;
...
...
mysql-test/t/federated.test
View file @
dad0d8ca
...
...
@@ -1322,7 +1322,9 @@ create table federated.t1 (i1 int, i2 int, i3 int);
create
table
federated
.
t2
(
id
int
,
c1
varchar
(
20
),
c2
varchar
(
20
));
connection
master
;
--
replace_result
$SLAVE_MYPORT
SLAVE_PORT
eval
create
table
federated
.
t1
(
i1
int
,
i2
int
,
i3
int
)
ENGINE
=
FEDERATED
CONNECTION
=
'mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/t1'
;
--
replace_result
$SLAVE_MYPORT
SLAVE_PORT
eval
create
table
federated
.
t2
(
id
int
,
c1
varchar
(
20
),
c2
varchar
(
20
))
ENGINE
=
FEDERATED
CONNECTION
=
'mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/t2'
;
insert
into
federated
.
t1
values
(
1
,
5
,
10
),(
3
,
7
,
12
),(
4
,
5
,
2
),(
9
,
10
,
15
),(
2
,
2
,
2
);
insert
into
federated
.
t2
values
(
9
,
"abc"
,
"def"
),(
5
,
"opq"
,
"lmn"
),(
2
,
"test t"
,
"t test"
);
...
...
@@ -1344,7 +1346,9 @@ create table federated.t1 (i1 int, i2 int, i3 int, primary key (i1));
create
table
federated
.
t2
(
id
int
,
c1
varchar
(
20
),
c2
varchar
(
20
),
primary
key
(
id
));
connection
master
;
--
replace_result
$SLAVE_MYPORT
SLAVE_PORT
eval
create
table
federated
.
t1
(
i1
int
auto_increment
not
null
,
i2
int
,
i3
int
,
primary
key
(
i1
))
ENGINE
=
FEDERATED
CONNECTION
=
'mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/t1'
;
--
replace_result
$SLAVE_MYPORT
SLAVE_PORT
eval
create
table
federated
.
t2
(
id
int
auto_increment
not
null
,
c1
varchar
(
20
),
c2
varchar
(
20
),
primary
key
(
id
))
ENGINE
=
FEDERATED
CONNECTION
=
'mysql://root@127.0.0.1:$SLAVE_MYPORT/federated/t2'
;
insert
into
federated
.
t1
values
(
1
,
5
,
10
),(
3
,
7
,
12
),(
4
,
5
,
2
),(
9
,
10
,
15
),(
2
,
2
,
2
);
insert
into
federated
.
t2
values
(
9
,
"abc"
,
"def"
),(
5
,
"opq"
,
"lmn"
),(
2
,
"test t"
,
"t test"
);
...
...
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