summaryrefslogtreecommitdiff
path: root/sql/opt_sum.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-05-21 21:39:58 +0300
committermonty@mashka.mysql.fi <>2003-05-21 21:39:58 +0300
commit6aa8929cf37374fe74c31eb03007961fa119213a (patch)
tree3df25ac7036fb4b2e95ab56b9dc90477ec234b7c /sql/opt_sum.cc
parentdd2b7918cdd5e0e643cff0305542ccd4aa8f1b6b (diff)
downloadmariadb-git-6aa8929cf37374fe74c31eb03007961fa119213a.tar.gz
After merge fixes
Added initialization of all important global variables
Diffstat (limited to 'sql/opt_sum.cc')
-rw-r--r--sql/opt_sum.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_sum.cc b/sql/opt_sum.cc
index b96c6383bbb..34cce98d087 100644
--- a/sql/opt_sum.cc
+++ b/sql/opt_sum.cc
@@ -280,6 +280,7 @@ int opt_sum_query(TABLE_LIST *tables, List<Item> &all_fields,COND *conds)
if (!error && reckey_in_range(1, &ref, item_field->field,
conds, range_fl, prefix_len))
error= HA_ERR_KEY_NOT_FOUND;
+ }
if (table->key_read)
{
table->key_read=0;