diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2017-08-26 16:18:43 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2017-08-26 16:18:43 +0200 |
commit | 438211a17524fb67bbf64bc1181ce1f8fb20acf7 (patch) | |
tree | d57d22102fd12ecb4e253510b891891facfb3d30 /storage/connect/mysql-test | |
parent | 614611d7c09dc3866078c46c6685ec34f33c8443 (diff) | |
download | mariadb-git-438211a17524fb67bbf64bc1181ce1f8fb20acf7.tar.gz |
- Fix MDEV-13621 Replace sprintf by strcpy for opval
modified: storage/connect/ha_connect.cc
- Add test output to tbl_thread.test tryng to understand failure
modified: storage/connect/mysql-test/connect/r/tbl_thread.result
modified: storage/connect/mysql-test/connect/t/tbl_thread.test
modified: storage/connect/tabtbl.cpp
Diffstat (limited to 'storage/connect/mysql-test')
-rw-r--r-- | storage/connect/mysql-test/connect/r/tbl_thread.result | 2 | ||||
-rw-r--r-- | storage/connect/mysql-test/connect/t/tbl_thread.test | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/storage/connect/mysql-test/connect/r/tbl_thread.result b/storage/connect/mysql-test/connect/r/tbl_thread.result index 97f454720da..97787850361 100644 --- a/storage/connect/mysql-test/connect/r/tbl_thread.result +++ b/storage/connect/mysql-test/connect/r/tbl_thread.result @@ -144,10 +144,12 @@ SELECT * FROM t2; v 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';; +set connect_xtrace=1; SELECT * FROM total order by v desc; v 22 11 +set connect_xtrace=0; DROP TABLE total; DROP TABLE t1; DROP TABLE t2; diff --git a/storage/connect/mysql-test/connect/t/tbl_thread.test b/storage/connect/mysql-test/connect/t/tbl_thread.test index 914d23d67fe..3376a121c5c 100644 --- a/storage/connect/mysql-test/connect/t/tbl_thread.test +++ b/storage/connect/mysql-test/connect/t/tbl_thread.test @@ -97,7 +97,9 @@ SELECT * FROM t2; --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'; +set connect_xtrace=1; SELECT * FROM total order by v desc; +set connect_xtrace=0; DROP TABLE total; DROP TABLE t1; |