mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix of testcases after merge.
Small improvement to write caching. Docs/manual.texi: Updated Changelog mysql-test/r/rpl000013.result: Fix after merge mysql-test/r/rpl000016.result: Fix after merge mysys/mf_iocache2.c: Small improvement to write caching. sql/sql_select.cc: Removed warning
This commit is contained in:
@ -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 */
|
||||
|
Reference in New Issue
Block a user