MXS-619: Restore old test

The test now performs the original test of not doing any queries between
the opening and closing of sessions.
This commit is contained in:
Markus Mäkelä 2019-12-19 14:43:27 +02:00
parent 484ff06795
commit 8de3339bc0
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -25,11 +25,7 @@ void query_thread(TestConnections& test, int thread_id)
"Error opening conn to %s:%u, thread num is %d, iteration %ld, error is: %s\n",
host, port, thread_id, i, mysql_error(conn));
if (conn && mysql_errno(conn) == 0)
{
test.try_query(conn, "USE test");
mysql_close(conn);
}
mysql_close(conn);
};
// Keep running the test until we exhaust all available ports