diff options
author | Mikael Ronström <mikael@dator9> | 2011-05-25 12:17:27 +0200 |
---|---|---|
committer | Mikael Ronström <mikael@dator9> | 2011-05-25 12:17:27 +0200 |
commit | f125f2994fe65bd40e42e4809b4b284cbe8017d6 (patch) | |
tree | 9b04ea7dda5503ced1400c848f3bc9ff3f60b247 /include | |
parent | af3eff8da01c09e8db137135d43a44556b057508 (diff) | |
download | mariadb-git-f125f2994fe65bd40e42e4809b4b284cbe8017d6.tar.gz |
BUG#12578441, reintroduced thd->cleanup() in unlink_thd, removed by mistake, added private interface to this function
Diffstat (limited to 'include')
-rw-r--r-- | include/mysql/thread_pool_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql/thread_pool_priv.h b/include/mysql/thread_pool_priv.h index b0b0aadc7ff..fc9a2bc6424 100644 --- a/include/mysql/thread_pool_priv.h +++ b/include/mysql/thread_pool_priv.h @@ -94,6 +94,8 @@ bool thd_is_connection_alive(THD *thd); void close_connection(THD *thd, uint errcode); /* End the connection before closing it */ void end_connection(THD *thd); +/* Cleanup the THD object */ +void thd_cleanup(THD *thd); /* Decrement connection counter */ void dec_connection_count(); /* Destroy THD object */ |