summaryrefslogtreecommitdiff
path: root/sql/opt_sum.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-02-04 19:17:42 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-13 18:12:05 +0100
commitcff144a8ea47be2db8aace52cc282f4d2e0d7aaa (patch)
tree44be7925a4d4cd5703e8ba36c95976e7610ab60c /sql/opt_sum.cc
parentdafb507e3ed09699230e3dd52fdc68c6094ee148 (diff)
downloadmariadb-git-cff144a8ea47be2db8aace52cc282f4d2e0d7aaa.tar.gz
cleanup: handler::key_read
* rename to "keyread" (to avoid conflicts with tokudb), * change from bool to uint and store the keyread index number there * provide a bool accessor to check if keyread is enabled
Diffstat (limited to 'sql/opt_sum.cc')
-rw-r--r--sql/opt_sum.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_sum.cc b/sql/opt_sum.cc
index 9d229f6aeef..e7bf4658d5c 100644
--- a/sql/opt_sum.cc
+++ b/sql/opt_sum.cc
@@ -968,7 +968,7 @@ static bool find_key_for_maxmin(bool max_fl, TABLE_REF *ref,
converted (for example to upper case)
*/
if (field->part_of_key.is_set(idx))
- table->file->ha_start_keyread();
+ table->file->ha_start_keyread(idx);
DBUG_RETURN(TRUE);
}
}