From 9fceffbf9e12ebd20ad0a522d30023a97b4f7b1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 20 Jan 2021 09:36:47 +0200 Subject: [PATCH] Backport mxs1071_maxrows fix This is a backport of commit `4167399cefa4f1621e1fa5ee7fe54c12736a6d21`. --- system-test/mxs1071_maxrows.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/system-test/mxs1071_maxrows.cpp b/system-test/mxs1071_maxrows.cpp index 47d6a870b..6fab75f8e 100644 --- a/system-test/mxs1071_maxrows.cpp +++ b/system-test/mxs1071_maxrows.cpp @@ -307,6 +307,8 @@ int main(int argc, char* argv[]) TestConnections* Test = new TestConnections(argc, argv); Test->set_timeout(30); Test->maxscales->connect_rwsplit(0); + Test->try_query(Test->maxscales->conn_rwsplit[0], "SET GLOBAL max_allowed_packet=10000000000"); + Test->maxscales->connect_rwsplit(0); create_t1(Test->maxscales->conn_rwsplit[0]); insert_into_t1(Test->maxscales->conn_rwsplit[0], 1); @@ -377,7 +379,6 @@ int main(int argc, char* argv[]) Test->tprintf("LONGBLOB: Trying send data via RWSplit\n"); - Test->try_query(Test->maxscales->conn_rwsplit[0], "SET GLOBAL max_allowed_packet=10000000000"); Test->stop_timeout(); Test->repl->connect(); // test_longblob(Test, Test->maxscales->conn_rwsplit[0], (char *) "LONGBLOB", 512 * 1024 / sizeof(long