diff options
author | unknown <monty@hundin.mysql.fi> | 2001-11-28 16:11:05 +0200 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-11-28 16:11:05 +0200 |
commit | caa13ea3e7abd946915e5526680edab46d9f460f (patch) | |
tree | dd1ee5dcda0fecccd46e084224858ae5668594c7 /sql | |
parent | b631ea0188d5fb4768732eccb4c5024276b34c9b (diff) | |
download | mariadb-git-caa13ea3e7abd946915e5526680edab46d9f460f.tar.gz |
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
Diffstat (limited to 'sql')
-rw-r--r-- | sql/sql_select.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 08fbf753997..ae9477d048e 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -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 */ |