1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Unlock tables on BEGIN

sql-bench/test-create.sh:
  Made --small-test a bit faster
sql/ha_innobase.cc:
  Cleanup memory at exit
sql/mysqld.cc:
  Remove debug notes at shutdown
This commit is contained in:
unknown
2001-09-08 01:01:10 +03:00
parent dac2557acf
commit a41b148e47
4 changed files with 20 additions and 5 deletions

View File

@ -2017,7 +2017,7 @@ The server will not act as a slave.");
}
#else
handle_connections_sockets(0);
#ifdef EXTRA_DEBUG
#ifdef EXTRA_DEBUG2
sql_print_error("Exiting main thread");
#endif
#endif /* __NT__ */
@ -2027,14 +2027,14 @@ The server will not act as a slave.");
DBUG_PRINT("quit",("Exiting main thread"));
#ifndef __WIN__
#ifdef EXTRA_DEBUG
#ifdef EXTRA_DEBUG2
sql_print_error("Before Lock_thread_count");
#endif
(void) pthread_mutex_lock(&LOCK_thread_count);
select_thread_in_use=0; // For close_connections
(void) pthread_cond_broadcast(&COND_thread_count);
(void) pthread_mutex_unlock(&LOCK_thread_count);
#ifdef EXTRA_DEBUG
#ifdef EXTRA_DEBUG2
sql_print_error("After lock_thread_count");
#endif
#else