Skip to content

Commit 22a675b

Browse files
committed
Merge branch 'ob-10.1' into 10.1
2 parents 5b6906c + b6afeac commit 22a675b

File tree

2 files changed

+16
-32
lines changed

2 files changed

+16
-32
lines changed

storage/connect/mysql-test/connect/r/tbl_thread.result

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ a b
2929
10 test10
3030
11 test11
3131
CREATE TABLE t2 ENGINE=CONNECT TABLE_TYPE=MYSQL
32-
CONNECTION='mysql://root@localhost:MASTER_PORT/test/rt2';
32+
CONNECTION='mysql://root@127.0.0.1:MASTER_PORT/test/rt2';
3333
SELECT * FROM t2;
3434
a b
3535
4 test04
3636
5 test05
3737
6 test06
3838
7 test07
3939
CREATE TABLE t3 ENGINE=CONNECT TABLE_TYPE=MYSQL
40-
CONNECTION='mysql://root@localhost:SLAVE_PORT/test/rt3';
40+
CONNECTION='mysql://root@127.0.0.1:SLAVE_PORT/test/rt3';
4141
SELECT * FROM t3;
4242
a b
4343
8 test08
@@ -82,24 +82,8 @@ v
8282
11
8383
DROP TABLE t1,t2,total;
8484
#
85-
# Old thread TBL tables test not modified
85+
# Old thread TBL tables test not modified (suppressed until MDEV-10179 is fixed)
8686
#
87-
CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=MYSQL SRCDEF='select 11 as v';
88-
SELECT * FROM t1;
89-
v
90-
11
91-
CREATE TABLE t2 ENGINE=CONNECT TABLE_TYPE=MYSQL SRCDEF='select 22 as v';
92-
SELECT * FROM t2;
93-
v
94-
22
95-
CREATE TABLE total (v BIGINT(20) UNSIGNED NOT NULL) ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2' OPTION_LIST='thread=yes,port=PORT';;
96-
SELECT * FROM total order by v desc;
97-
v
98-
22
99-
11
100-
DROP TABLE total;
101-
DROP TABLE t1;
102-
DROP TABLE t2;
10387
DROP TABLE IF EXISTS connect.t1;
10488
DROP DATABASE IF EXISTS connect;
10589
DROP TABLE IF EXISTS connect.t1;

storage/connect/mysql-test/connect/t/tbl_thread.test

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ connection default;
2828

2929
--replace_result $MASTER_MYPORT MASTER_PORT
3030
eval CREATE TABLE t2 ENGINE=CONNECT TABLE_TYPE=MYSQL
31-
CONNECTION='mysql://root@localhost:$MASTER_MYPORT/test/rt2';
31+
CONNECTION='mysql://root@127.0.0.1:$MASTER_MYPORT/test/rt2';
3232
SELECT * FROM t2;
3333

3434
--replace_result $SLAVE_MYPORT SLAVE_PORT
3535
eval CREATE TABLE t3 ENGINE=CONNECT TABLE_TYPE=MYSQL
36-
CONNECTION='mysql://root@localhost:$SLAVE_MYPORT/test/rt3';
36+
CONNECTION='mysql://root@127.0.0.1:$SLAVE_MYPORT/test/rt3';
3737
SELECT * FROM t3;
3838

3939
--replace_result $PORT PORT
@@ -71,20 +71,20 @@ SELECT * FROM total order by v desc;
7171
DROP TABLE t1,t2,total;
7272

7373
--echo #
74-
--echo # Old thread TBL tables test not modified
74+
--echo # Old thread TBL tables test not modified (suppressed until MDEV-10179 is fixed)
7575
--echo #
76-
CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=MYSQL SRCDEF='select 11 as v';
77-
SELECT * FROM t1;
76+
#CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=MYSQL SRCDEF='select 11 as v';
77+
#SELECT * FROM t1;
7878

79-
CREATE TABLE t2 ENGINE=CONNECT TABLE_TYPE=MYSQL SRCDEF='select 22 as v';
80-
SELECT * FROM t2;
79+
#CREATE TABLE t2 ENGINE=CONNECT TABLE_TYPE=MYSQL SRCDEF='select 22 as v';
80+
#SELECT * FROM t2;
8181

82-
--replace_result $PORT PORT
83-
--eval CREATE TABLE total (v BIGINT(20) UNSIGNED NOT NULL) ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2' OPTION_LIST='thread=yes,port=$PORT';
84-
SELECT * FROM total order by v desc;
82+
#--replace_result $PORT PORT
83+
#--eval CREATE TABLE total (v BIGINT(20) UNSIGNED NOT NULL) ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2' OPTION_LIST='thread=yes,port=$PORT';
84+
#SELECT * FROM total order by v desc;
8585

86-
DROP TABLE total;
87-
DROP TABLE t1;
88-
DROP TABLE t2;
86+
#DROP TABLE total;
87+
#DROP TABLE t1;
88+
#DROP TABLE t2;
8989

9090
-- source myconn_cleanup.inc

0 commit comments

Comments
 (0)