1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fix of testcases after merge.

Small improvement to write caching.
This commit is contained in:
monty@hundin.mysql.fi
2001-11-28 16:11:05 +02:00
parent 69f6802632
commit 76ed6c26fc
5 changed files with 29 additions and 18 deletions

View File

@@ -2322,7 +2322,7 @@ make_join_select(JOIN *join,SQL_SELECT *select,COND *cond)
used_tables|=current_map;
if (tab->type == JT_REF && tab->quick &&
tab->ref.key == tab->quick->index &&
(uint) tab->ref.key == tab->quick->index &&
tab->ref.key_length < tab->quick->max_used_key_length)
{
/* Range uses longer key; Use this instead of ref on key */