summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2018-08-24 20:53:00 -0700
committerIgor Babaev <igor@askmonty.org>2018-08-24 20:53:00 -0700
commitc826b6b8da3c9ee89ab457155bae96310213e5a1 (patch)
tree72085f6edd334eb4ba275ecba3c25706fbe5f624 /sql/opt_range.h
parent8b949d961ce46479eb10b6ddb5d91eb7d8bc0f73 (diff)
downloadmariadb-git-c826b6b8da3c9ee89ab457155bae96310213e5a1.tar.gz
Added a new parameter for the function eq_ranges_exceeds_limit()
introduced in the patch fo MDEV-16934.
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r--sql/opt_range.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h
index 6698c987e78..9e0bd3ae9ff 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -1664,7 +1664,8 @@ SQL_SELECT *make_select(TABLE *head, table_map const_tables,
bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item **cond);
-bool eq_ranges_exceeds_limit(RANGE_SEQ_IF *seq, void *seq_init_param);
+bool eq_ranges_exceeds_limit(RANGE_SEQ_IF *seq, void *seq_init_param,
+ uint limit);
#ifdef WITH_PARTITION_STORAGE_ENGINE
bool prune_partitions(THD *thd, TABLE *table, Item *pprune_cond);