summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMikael Ronström <mikael@dator9>2011-05-25 12:17:27 +0200
committerMikael Ronström <mikael@dator9>2011-05-25 12:17:27 +0200
commit4c95c5d8f620adc02f8ef6048905f2f71c6f67ca (patch)
tree9b04ea7dda5503ced1400c848f3bc9ff3f60b247 /include
parent63c6303657b7f18625be61d1dfd4456fb01d5de9 (diff)
downloadmariadb-git-4c95c5d8f620adc02f8ef6048905f2f71c6f67ca.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.h2
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 */