summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-12-30 15:50:20 +0100
committerSergei Golubchik <serg@mariadb.org>2018-12-30 18:30:29 +0100
commit67240858b2bfa0afc436d88fc9da0595e1391b60 (patch)
tree27dc23ebefa72cb2fd7aaa02722da3ba424bbf9e /sql/opt_range.cc
parentcf9070a8f7dec309878e464b277db7dbb3556cf0 (diff)
parentaeefd26ecb1089678e343c64998749e9f2e3a1e4 (diff)
downloadmariadb-git-67240858b2bfa0afc436d88fc9da0595e1391b60.tar.gz
Merge branch '10.1' into 10.2mariadb-10.2.21
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 92a64456257..1b31fe50651 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -2723,10 +2723,6 @@ bool create_key_parts_for_pseudo_indexes(RANGE_OPT_PARAM *param,
{
Field **field_ptr;
TABLE *table= param->table;
- partition_info *part_info= NULL;
- #ifdef WITH_PARTITION_STORAGE_ENGINE
- part_info= table->part_info;
- #endif
uint parts= 0;
for (field_ptr= table->field; *field_ptr; field_ptr++)