diff options
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 6f3d243394e..83ab85ebbbd 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -174,6 +174,14 @@ int ha_panic(enum ha_panic_function flag) } /* ha_panic */ +void ha_close_connection(THD* thd) +{ +#ifdef HAVE_INNOBASE_DB + if (!innobase_skip) + innobase_close_connection(THD* thd); +#endif +} + /* This is used to commit or rollback a single statement depending on the value of error |