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:
@ -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",
|
"Error opening conn to %s:%u, thread num is %d, iteration %ld, error is: %s\n",
|
||||||
host, port, thread_id, i, mysql_error(conn));
|
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
|
// Keep running the test until we exhaust all available ports
|
||||||
|
|||||||
Reference in New Issue
Block a user