summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-12-28 01:01:05 +0200
committerunknown <bell@sanja.is.com.ua>2002-12-28 01:01:05 +0200
commit3ab0ddc294891f31b65f92fb7af265047db15d52 (patch)
tree6675c15be87ddec825795b1d2a861d6bc696f109 /sql/opt_range.cc
parent7388e9bd5b4604b351386e9d86888d94e4ac4d30 (diff)
downloadmariadb-git-3ab0ddc294891f31b65f92fb7af265047db15d52.tar.gz
postreview fix (SCRUM)
fixed layout sql/filesort.cc: fixed layout sql/gstream.cc: fixed layout sql/item.cc: postreview fix sql/item.h: postreview fix sql/item_cmpfunc.cc: postreview fix sql/item_cmpfunc.h: fixed layout sql/item_func.h: fixed layout sql/item_row.h: fixed layout sql/item_strfunc.cc: fixed layout sql/item_subselect.cc: postreview fix sql/item_subselect.h: postreview fix sql/nt_servc.cc: fixed layout sql/opt_range.cc: fixed layout sql/password.c: fixed layout sql/spatial.cc: fixed layout sql/sql_help.cc: fixed layout sql/sql_lex.cc: fixed layout sql/sql_olap.cc: fixed layout sql/sql_select.cc: fixed layout sql/sql_show.cc: fixed layout sql/sql_string.cc: fixed layout sql/sql_table.cc: fixed layout sql/stacktrace.c: fixed layout
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index b117b6a5ea1..887ce6c561a 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -2162,12 +2162,13 @@ check_quick_keys(PARAM *param,uint idx,SEL_ARG *key_tree,
tmp=1; // Max one record
else
{
- if(tmp_min_flag & GEOM_FLAG)
+ if (tmp_min_flag & GEOM_FLAG)
{
- tmp=param->table->file->
- records_in_range((int) keynr,(byte*)(param->min_key + 1),
- min_key_length, (ha_rkey_function)(tmp_min_flag ^ GEOM_FLAG),
- (byte *)NullS,0,HA_READ_KEY_EXACT);
+ tmp= param->table->file->
+ records_in_range((int) keynr, (byte*)(param->min_key + 1),
+ min_key_length,
+ (ha_rkey_function)(tmp_min_flag ^ GEOM_FLAG),
+ (byte *)NullS, 0, HA_READ_KEY_EXACT);
}
else
{