From 9e5d3c62eedd03b27d4dd6b36d31b2aa25be39f9 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 22 Sep 2005 16:05:05 +0200 Subject: fixed a memory leak in ha_tina.cc --- sql/handler.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sql/handler.cc') diff --git a/sql/handler.cc b/sql/handler.cc index 5f8fa33fecc..41fb3a31ddc 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -598,6 +598,10 @@ int ha_panic(enum ha_panic_function flag) #ifdef HAVE_ARCHIVE_DB if (have_archive_db == SHOW_OPTION_YES) error|= archive_db_end(); +#endif +#ifdef HAVE_CSV_DB + if (have_csv_db == SHOW_OPTION_YES) + error|= tina_end(); #endif if (ha_finish_errors()) error= 1; -- cgit v1.2.1