Commit 703ce16a authored by Olivier Bertrand's avatar Olivier Bertrand

- Add more trace to tbl_thread.test (to debug failure)

  modified:   storage/connect/mysql-test/connect/r/tbl_thread.result
  modified:   storage/connect/mysql-test/connect/t/tbl_thread.test
parent 7ccce51b
...@@ -87,6 +87,7 @@ a b ...@@ -87,6 +87,7 @@ a b
CREATE TABLE total (a int, b char(10)) CREATE TABLE total (a int, b char(10))
ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2,t3,t4,t5' ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2,t3,t4,t5'
OPTION_LIST='thread=yes,port=PORT'; OPTION_LIST='thread=yes,port=PORT';
set connect_xtrace=1;
SELECT * FROM total order by a desc; SELECT * FROM total order by a desc;
a b a b
19 test19 19 test19
...@@ -109,6 +110,7 @@ a b ...@@ -109,6 +110,7 @@ a b
2 test02 2 test02
1 test01 1 test01
0 test00 0 test00
set connect_xtrace=0;
connection master; connection master;
DROP TABLE rt2; DROP TABLE rt2;
connection slave; connection slave;
...@@ -127,10 +129,12 @@ SELECT * FROM t2; ...@@ -127,10 +129,12 @@ SELECT * FROM t2;
v v
22 22
CREATE TABLE total (v BIGINT(20) UNSIGNED NOT NULL) ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2' OPTION_LIST='thread=yes,port=PORT';; CREATE TABLE total (v BIGINT(20) UNSIGNED NOT NULL) ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2' OPTION_LIST='thread=yes,port=PORT';;
set connect_xtrace=1;
SELECT * FROM total order by v desc; SELECT * FROM total order by v desc;
v v
22 22
11 11
set connect_xtrace=0;
DROP TABLE t1,t2,total; DROP TABLE t1,t2,total;
# #
# Old thread TBL tables test not modified (suppressed until MDEV-10179 is fixed) # Old thread TBL tables test not modified (suppressed until MDEV-10179 is fixed)
......
...@@ -56,7 +56,9 @@ SELECT * FROM t5; ...@@ -56,7 +56,9 @@ SELECT * FROM t5;
eval CREATE TABLE total (a int, b char(10)) eval CREATE TABLE total (a int, b char(10))
ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2,t3,t4,t5' ENGINE=CONNECT TABLE_TYPE=TBL TABLE_LIST='t1,t2,t3,t4,t5'
OPTION_LIST='thread=yes,port=$PORT'; OPTION_LIST='thread=yes,port=$PORT';
set connect_xtrace=1;
SELECT * FROM total order by a desc; SELECT * FROM total order by a desc;
set connect_xtrace=0;
connection master; connection master;
...@@ -83,7 +85,9 @@ SELECT * FROM t2; ...@@ -83,7 +85,9 @@ SELECT * FROM t2;
--replace_result $PORT PORT --replace_result $PORT PORT
--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'; --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';
set connect_xtrace=1;
SELECT * FROM total order by v desc; SELECT * FROM total order by v desc;
set connect_xtrace=0;
DROP TABLE t1,t2,total; DROP TABLE t1,t2,total;
--echo # --echo #
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment