Commit 2d9a473b authored by unknown's avatar unknown

Merge bk://work.mysql.com:7001

into sinisa.nasamreza.org:/mnt/work/mysql-4.0

parents 14c5bdbc 7a8b483d
...@@ -50815,6 +50815,10 @@ each individual 4.0.x release. ...@@ -50815,6 +50815,10 @@ each individual 4.0.x release.
@appendixsubsec Changes in release 4.0.5 @appendixsubsec Changes in release 4.0.5
@itemize @itemize
@item @item
Removed a condition that temp table with index on column that can be NULL has
to be MyISAM. This was OK for 3.23, but not needed in 4.*. This resulted in
slowdown in many queries since 4.0.2
@item
Small code improvement in multi-table updates Small code improvement in multi-table updates
@item @item
Fixed a newly introduced bug that caused @code{ORDER BY ... LIMIT #} Fixed a newly introduced bug that caused @code{ORDER BY ... LIMIT #}
...@@ -3708,7 +3708,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields, ...@@ -3708,7 +3708,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
*blob_field= 0; // End marker *blob_field= 0; // End marker
/* If result table is small; use a heap */ /* If result table is small; use a heap */
if (blob_count || using_unique_constraint || group_null_items || if (blob_count || using_unique_constraint ||
(select_options & (OPTION_BIG_TABLES | SELECT_SMALL_RESULT)) == (select_options & (OPTION_BIG_TABLES | SELECT_SMALL_RESULT)) ==
OPTION_BIG_TABLES) OPTION_BIG_TABLES)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment