summaryrefslogtreecommitdiff
path: root/mysys/my_init.c
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-07 11:45:06 +0200
committermonty@mashka.mysql.fi <>2003-01-07 11:45:06 +0200
commit22aaac013b2d714e7a4329eab9a5cc880d792b6c (patch)
treeabb09346d74f5eb8cf867ea184e544bab1f41331 /mysys/my_init.c
parentedb019aeaf616442d93db2eab0df4b2b09003d14 (diff)
downloadmariadb-git-22aaac013b2d714e7a4329eab9a5cc880d792b6c.tar.gz
Fixed that derived tables are properly droped
Diffstat (limited to 'mysys/my_init.c')
-rw-r--r--mysys/my_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_init.c b/mysys/my_init.c
index 2f5088d5b9e..ae7f78b7445 100644
--- a/mysys/my_init.c
+++ b/mysys/my_init.c
@@ -121,6 +121,7 @@ void my_end(int infoflag)
}
}
free_charsets();
+ my_once_free();
if (infoflag & MY_GIVE_INFO || info_file != stderr)
{
#ifdef HAVE_GETRUSAGE
@@ -163,7 +164,6 @@ Voluntary context switches %ld, Involuntary context switches %ld\n",
pthread_mutex_destroy(&THR_LOCK_malloc);
pthread_mutex_destroy(&THR_LOCK_open);
DBUG_POP(); /* Must be done before my_thread_end */
- my_once_free();
my_thread_end();
my_thread_global_end();
#endif