summaryrefslogtreecommitdiff
path: root/storage/spider
diff options
context:
space:
mode:
authorNayuta Yanagisawa <nayuta.yanagisawa@hey.com>2021-07-25 17:51:36 +0000
committerNayuta Yanagisawa <nayuta.yanagisawa@hey.com>2021-07-25 18:01:09 +0000
commitf52d39369a6e3f1a9ce89189180d142e54299862 (patch)
tree92a1641d40de246a821b6a7fcf2e3200598d536c /storage/spider
parenteaae13059f413647f8a406b52f212d70dca69661 (diff)
downloadmariadb-git-f52d39369a6e3f1a9ce89189180d142e54299862.tar.gz
MDEV-24517 follow-up: Fix for test with --ps-protocol
Tests for the Spider storage engine often use the following idiom: --let $command=CREATE TABLE t1 (...);CREATE TABLE t2 (...); ... --eval $command However, the idiom seems to work in the normal protocol, but fails in the prepared statement (ps) protocol. As testing CREATE TABLE statements in the ps protocol, we wrap the idiom by --disable_ps_protocol and --enable_ps_protocol.
Diffstat (limited to 'storage/spider')
-rw-r--r--storage/spider/mysql-test/spider/bugfix/t/mdev_24517.test2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/spider/mysql-test/spider/bugfix/t/mdev_24517.test b/storage/spider/mysql-test/spider/bugfix/t/mdev_24517.test
index f5e53e03a65..21b9dda4f12 100644
--- a/storage/spider/mysql-test/spider/bugfix/t/mdev_24517.test
+++ b/storage/spider/mysql-test/spider/bugfix/t/mdev_24517.test
@@ -21,8 +21,10 @@ USE auto_test_remote;
--connection child2_1
--disable_query_log
+--disable_ps_protocol
echo CHILD2_1_CREATE_TABLES;
eval $CHILD2_1_CREATE_TABLES;
+--enable_ps_protocol
--enable_query_log
TRUNCATE TABLE mysql.general_log;