diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-09-20 11:21:27 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-09-20 11:21:27 +0200 |
commit | c18a34bda6f16521f9c3f9c43579af70d1c7a22f (patch) | |
tree | 8a227ee82035d503f178052e09de66fef6adcdf5 | |
parent | 6ff48a61f23a1241d7db95e4f84f1a132a4f08d0 (diff) | |
download | mariadb-git-c18a34bda6f16521f9c3f9c43579af70d1c7a22f.tar.gz |
Bug #55426 mysqltest crashes when trying to unlock not acquired mutex
Follow-up: don't call pthread_join() on Windows
This change only valid for 5.1
-rw-r--r-- | client/mysqltest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index a84ad2ad9e8..08375e4a576 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -763,7 +763,10 @@ static void wait_query_thread_end(struct st_connection *con) } if (con->has_thread) { +#ifndef __WIN__ + /* May hang on Windows, but the problem it solves is not seen there */ pthread_join(con->tid, NULL); +#endif con->has_thread= FALSE; } } |