Browse Source

fix a windows test run bug with debug binaries : dbug frame

should be exited before destroying the thread local storage.
pull/374/head
Georgi Kodinov 16 years ago
parent
commit
c7cb4b3c42
  1. 2
      sql/mysqld.cc

2
sql/mysqld.cc

@ -1949,10 +1949,10 @@ bool one_thread_per_connection_end(THD *thd, bool put_in_cache)
/* It's safe to broadcast outside a lock (COND... is not deleted here) */
DBUG_PRINT("signal", ("Broadcasting COND_thread_count"));
DBUG_LEAVE; // Must match DBUG_ENTER()
my_thread_end();
(void) pthread_cond_broadcast(&COND_thread_count);
DBUG_LEAVE; // Must match DBUG_ENTER()
pthread_exit(0);
return 0; // Avoid compiler warnings
}

Loading…
Cancel
Save