diff options
author | unknown <holyfoot/hf@mysql.com/hfmain.(none)> | 2008-03-19 15:51:22 +0400 |
---|---|---|
committer | unknown <holyfoot/hf@mysql.com/hfmain.(none)> | 2008-03-19 15:51:22 +0400 |
commit | 4018b13915c2fa972cf4da90ab1b2272b855a490 (patch) | |
tree | ac5bd6173e6b2ef97f31084bb08dd1d024b4dc2d /mysql-test/r | |
parent | 012aab7d8bf7ae9c30751a6d5f666c7731ecfdf3 (diff) | |
download | mariadb-git-4018b13915c2fa972cf4da90ab1b2272b855a490.tar.gz |
Bug #33334 mysqltest_embedded crashes when disconnecting before reap.
Before breaking the connection we have to check that there's no query
executing at the moment. Otherwise it can lead to crash in embedded server.
client/mysqltest.c:
Bug #33334 mysqltest_embedded crashes when disconnecting before reap.
Wait until the query thread is finished before we break the connection.
Waiting part moved to a separate wait_query_thread_end() function
mysql-test/r/flush.result:
Bug #33334 mysqltest_embedded crashes when disconnecting before reap.
test result
mysql-test/t/flush.test:
Bug #33334 mysqltest_embedded crashes when disconnecting before reap.
test case
Diffstat (limited to 'mysql-test/r')
-rw-r--r-- | mysql-test/r/flush.result | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/r/flush.result b/mysql-test/r/flush.result index ce64e09c1d3..778f138f29d 100644 --- a/mysql-test/r/flush.result +++ b/mysql-test/r/flush.result @@ -72,3 +72,4 @@ flush tables with read lock; unlock tables; drop table t1, t2; set session low_priority_updates=default; +select benchmark(200, (select sin(1))) > 1000; |