diff options
author | unknown <monty@donna.mysql.com> | 2000-09-16 04:27:21 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-09-16 04:27:21 +0300 |
commit | 19b678eefe59529761691ddebece604107dcb42b (patch) | |
tree | 6e20280a8abcc28d14385983250a3e1823639028 /myisammrg/myrg_close.c | |
parent | b35a18596c602e654b821ebef8e8a3147fae6dbf (diff) | |
download | mariadb-git-19b678eefe59529761691ddebece604107dcb42b.tar.gz |
Faster log::write() call, memory leak fix, flush master fix.
BUILD/compile-alpha-ccc:
remove deps to get things to compile better
Docs/manual.texi:
Small fixes
configure.in:
Fix for mlockmem()
include/my_sys.h:
Made key_cache_inited global
myisammrg/myrg_close.c:
Fixed memory leak
myisammrg/myrg_open.c:
Initialize queue to avoid memory leak bug
mysys/mf_format.c:
Added overflow check
mysys/mf_keycache.c:
Made key_cache_init more secure to use
mysys/my_static.h:
Make key_cache_inite global
sql/ChangeLog:
Changes
sql/lock.cc:
Added logging of locktime
sql/log.cc:
Added logging of locktime
sql/mysql_priv.h:
Added locked_in_memory
sql/mysqld.cc:
Added logging of locktime + locked in memory
sql/sql_acl.cc:
Added thd to log::write() for faster call
sql/sql_base.cc:
Use global key_cache variable
sql/sql_class.cc:
Added result row counting
sql/sql_class.h:
Added thd to log::write() for faster call
sql/sql_db.cc:
Added thd to log::write() for faster call
sql/sql_delete.cc:
Added thd to log::write() for faster call
sql/sql_insert.cc:
Added thd to log::write() for faster call
sql/sql_load.cc:
Added thd to log::write() for faster call
sql/sql_parse.cc:
Added thd to log::write() for faster call
sql/sql_rename.cc:
Added thd to log::write() for faster call
sql/sql_table.cc:
Added thd to log::write() for faster call
sql/sql_update.cc:
Added thd to log::write() for faster call
Diffstat (limited to 'myisammrg/myrg_close.c')
-rw-r--r-- | myisammrg/myrg_close.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/myisammrg/myrg_close.c b/myisammrg/myrg_close.c index 0b9acd921ae..7ab73c5ded4 100644 --- a/myisammrg/myrg_close.c +++ b/myisammrg/myrg_close.c @@ -18,8 +18,7 @@ #include "mymrgdef.h" -int myrg_close(info) -register MYRG_INFO *info; +int myrg_close(MYRG_INFO *info) { int error=0,new_error; MYRG_TABLE *file; @@ -28,6 +27,7 @@ register MYRG_INFO *info; for (file=info->open_tables ; file != info->end_table ; file++) if ((new_error=mi_close(file->table))) error=new_error; + delete_queue(&info->by_key); pthread_mutex_lock(&THR_LOCK_open); myrg_open_list=list_delete(myrg_open_list,&info->open_list); pthread_mutex_unlock(&THR_LOCK_open); |