Merge branch '2.1' into 2.2
This commit is contained in:
@ -20,9 +20,7 @@ void* query_thr(void* data)
|
|||||||
|
|
||||||
while (running)
|
while (running)
|
||||||
{
|
{
|
||||||
if (mysql_query(mysql, "SET max_statement_time = 30") ||
|
if (mysql_query(mysql, "INSERT INTO test.mxs1585 VALUES (1)") ||
|
||||||
mysql_query(mysql, "SET sql_log_bin = 0") ||
|
|
||||||
mysql_query(mysql, "INSERT INTO test.mxs1585 VALUES (1)") ||
|
|
||||||
mysql_query(mysql, "DELETE FROM test.mxs1585 LIMIT 100"))
|
mysql_query(mysql, "DELETE FROM test.mxs1585 LIMIT 100"))
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
@ -68,6 +66,7 @@ int main(int argc, char** argv)
|
|||||||
|
|
||||||
for (auto& a: threads)
|
for (auto& a: threads)
|
||||||
{
|
{
|
||||||
|
test.set_timeout(60);
|
||||||
pthread_join(a, NULL);
|
pthread_join(a, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user