Browse Source

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
pull/47/merge
Bjorn Munch 15 years ago
parent
commit
c679e8dc80
  1. 3
      client/mysqltest.cc

3
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;
}
}

Loading…
Cancel
Save