summaryrefslogtreecommitdiff
path: root/innobase/srv
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-07-01 11:19:17 +0300
committerunknown <monty@hundin.mysql.fi>2002-07-01 11:19:17 +0300
commit61ee4a80878b10d66dde5186b2a87d6eb3eef415 (patch)
tree66404d97e9968903635aeaf96095c74808573c78 /innobase/srv
parentf26ae21229b11bae1b031b6ab68e9f43c9716f9e (diff)
downloadmariadb-git-61ee4a80878b10d66dde5186b2a87d6eb3eef415.tar.gz
Portability fixes.
Don't free memory from InnoDB at exit (as this may be done before other threads are finnished) include/my_pthread.h: Added missing prototypes innobase/srv/srv0start.c: Don't free memory at exit (as this may be done before other threads are finnished) mysys/mf_iocache.c: Cleanup (Don't rely on return value from mutex_unlock())
Diffstat (limited to 'innobase/srv')
-rw-r--r--innobase/srv/srv0start.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/srv/srv0start.c b/innobase/srv/srv0start.c
index fa4f4bc9419..f5a0c62aaf9 100644
--- a/innobase/srv/srv0start.c
+++ b/innobase/srv/srv0start.c
@@ -1351,7 +1351,8 @@ innobase_shutdown_for_mysql(void)
srv_conc_n_threads);
}
+#ifdef NOT_WORKING_YET
ut_free_all_mem();
-
+#endif
return((int) DB_SUCCESS);
}