From 8926c0bc3817150d00a1906e07a6e6b469c4c696 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 12 Oct 2002 12:38:48 +0300 Subject: Fixed bug where we could reference a freed tmp_table->table_name variable for some GROUP BY ... ORDER BY queries. Docs/manual.texi: ChangeLog --- Docs/manual.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Docs') diff --git a/Docs/manual.texi b/Docs/manual.texi index e8b9d89e1a2..21bab5ea6e4 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -46928,6 +46928,12 @@ not yet 100% confident in this code. @node News-3.23.54, News-3.23.53, News-3.23.x, News-3.23.x @appendixsubsec Changes in release 3.23.54 +@itemize +Fixed reference to freed memory when doing complicated @code{GROUP BY +... ORDER BY} queries. Symptom was that @code{mysqld} died in function +@code{send_fields}. +queries. +@end itemize @node News-3.23.53, News-3.23.52, News-3.23.54, News-3.23.x @appendixsubsec Changes in release 3.23.53 -- cgit v1.2.1 From 61632073ac9473e00d5e0c88078880d3af575828 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 13 Oct 2002 23:42:37 +0300 Subject: Allocate HEAP blocks in smaller blocks to get better memory utilization and more speed when used with safemalloc. Don't initalize memory areas when run with --skip-safemalloc. Docs/manual.texi: ChangeLog heap/heapdef.h: Allocate HEAP blocks in smaller blocks to get better memory utilization and more speed when used with safemalloc. heap/hp_open.c: Allocate HEAP blocks in smaller blocks to get better memory utilization and more speed when used with safemalloc. mysys/safemalloc.c: Don't initalize memory areas when run with --skip-safemalloc. This can in some cases increase speed with 20 times when debugging --- Docs/manual.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Docs') diff --git a/Docs/manual.texi b/Docs/manual.texi index 21bab5ea6e4..86b19c0ff33 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -46929,10 +46929,12 @@ not yet 100% confident in this code. @node News-3.23.54, News-3.23.53, News-3.23.x, News-3.23.x @appendixsubsec Changes in release 3.23.54 @itemize +@item Fixed reference to freed memory when doing complicated @code{GROUP BY ... ORDER BY} queries. Symptom was that @code{mysqld} died in function @code{send_fields}. -queries. +@item +Allocate heap rows in smaller blocks to get better memory usage. @end itemize @node News-3.23.53, News-3.23.52, News-3.23.54, News-3.23.x -- cgit v1.2.1 From a86c172f582570dbc19554e85691c34869def66f Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 14 Oct 2002 17:04:12 +0300 Subject: Fixed a bug in key optimizing handling where the expression WHERE column_name = key_column_name was calculated as true for NULL values. Docs/manual.texi: Changelog mysql-test/r/distinct.result: Updated results caused by bug fix. mysql-test/r/null_key.result: New tests mysql-test/t/null_key.test: New tests sql/sql_select.cc: Additional change for previous changeset for using BLOB in GROUP BY --- Docs/manual.texi | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Docs') diff --git a/Docs/manual.texi b/Docs/manual.texi index 86b19c0ff33..67320f7352f 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -46935,6 +46935,13 @@ Fixed reference to freed memory when doing complicated @code{GROUP BY @code{send_fields}. @item Allocate heap rows in smaller blocks to get better memory usage. +@item +Fixed memory allocation bug when storing BLOB values in internal +temporary tables used for some (unlikely) @code{GROUP BY} queries. +@item +Fixed a bug in key optimizing handling where the expression +@code{WHERE column_name = key_column_name} was calculated as true +for @code{NULL} values. @end itemize @node News-3.23.53, News-3.23.52, News-3.23.54, News-3.23.x -- cgit v1.2.1