From cf85780f03b9600a38b1cb60ce1808cb64bfe011 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Thu, 18 Jun 2020 20:13:08 +0200 Subject: [PATCH] set_testing-multi-t replaces spaces with "DO 1" --- test/tap/tests/set_testing-multi-t.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/tap/tests/set_testing-multi-t.cpp b/test/tap/tests/set_testing-multi-t.cpp index 5f999773c..cf6dfafcf 100644 --- a/test/tap/tests/set_testing-multi-t.cpp +++ b/test/tap/tests/set_testing-multi-t.cpp @@ -476,6 +476,11 @@ void * my_conn_thread(void *arg) { } std::vector commands = split(testCases[r2].command.c_str(), ';'); for (auto c : commands) { + if (multi_users) { + if (c == " ") { + c = "DO 1"; + } + } if (mysql_query(mysql, c.c_str())) { if (silent==0) { fprintf(stderr,"ERROR while running -- \"%s\" : (%d) %s\n", c.c_str(), mysql_errno(mysql), mysql_error(mysql));