diff options
author | monty@tik.mysql.fi <> | 2002-03-05 17:38:16 +0200 |
---|---|---|
committer | monty@tik.mysql.fi <> | 2002-03-05 17:38:16 +0200 |
commit | c1ab560c3dcc9b7060d90baffb4d6551203d2cc0 (patch) | |
tree | 4c30c14208ff66b6c3278246e096cfb9df057c36 | |
parent | cde0896521c03deacf68cde933d2322ff886fc87 (diff) | |
download | mariadb-git-c1ab560c3dcc9b7060d90baffb4d6551203d2cc0.tar.gz |
Corrected fix for not freed memory when using corrupted tables
-rw-r--r-- | Docs/manual.texi | 8 | ||||
-rw-r--r-- | configure.in | 2 | ||||
-rw-r--r-- | sql/sql_base.cc | 1 | ||||
-rw-r--r-- | sql/table.cc | 2 |
4 files changed, 11 insertions, 2 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi index bbf2f93a90d..413a9a8ce0c 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -46892,6 +46892,12 @@ not yet 100% confident in this code. @itemize @bullet @item Memory leak (16 bytes per every @strong{corrupted} table) closed. +@item +Fixed binary builds to use @code{--enable-local-infile}. +@item +Update source to work with new @code{bison} version. +@item +Updated shell scripts to new agree with new POSIX standard. @end itemize @node News-3.23.49, News-3.23.48, News-3.23.50, News-3.23.x @@ -46909,6 +46915,8 @@ Added options to make @code{LOAD DATA LOCAL INFILE} more secure. MySQL binary release 3.23.48 for Linux contained a new glibc library, which has serious problems under high load and RedHat 7.2. The 3.23.49 binary release doesn't have this problem. +@item +Fixed shutdown problem on NT. @end itemize @node News-3.23.48, News-3.23.47, News-3.23.49, News-3.23.x diff --git a/configure.in b/configure.in index 66cdb8d09c8..cf971463b69 100644 --- a/configure.in +++ b/configure.in @@ -4,7 +4,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(sql/mysqld.cc) AC_CANONICAL_SYSTEM # The Docs Makefile.am parses this line! -AM_INIT_AUTOMAKE(mysql, 3.23.49a) +AM_INIT_AUTOMAKE(mysql, 3.23.50) AM_CONFIG_HEADER(config.h) PROTOCOL_VERSION=10 diff --git a/sql/sql_base.cc b/sql/sql_base.cc index 1c281163b5a..656758623bc 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -277,7 +277,6 @@ void intern_close_table(TABLE *table) free_io_cache(table); if (table->file) VOID(closefrm(table)); // close file - hash_free(&table->name_hash); } diff --git a/sql/table.cc b/sql/table.cc index ce7d185a7a1..7510e6bcce8 100644 --- a/sql/table.cc +++ b/sql/table.cc @@ -573,6 +573,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag, delete outparam->file; outparam->file=0; // For easyer errorchecking outparam->db_stat=0; + hash_free(&outparam->name_hash); free_root(&outparam->mem_root,MYF(0)); my_free(outparam->table_name,MYF(MY_ALLOW_ZERO_PTR)); DBUG_RETURN (error); @@ -600,6 +601,7 @@ int closefrm(register TABLE *table) } delete table->file; table->file=0; /* For easyer errorchecking */ + hash_free(&outparam->name_hash); free_root(&table->mem_root,MYF(0)); DBUG_RETURN(error); } |