summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2018-12-13 19:51:40 +0100
committerSergei Golubchik <serg@mariadb.org>2018-12-13 19:51:40 +0100
commit1a7158b88a117f6543e1318a7abdc490cdfd5e67 (patch)
tree772ef7ef41bfdffde531e44353a9f3a449804b4a
parent8e613458e1ad797b5e2c7870ffe1c3d5100dbbee (diff)
downloadmariadb-git-1a7158b88a117f6543e1318a7abdc490cdfd5e67.tar.gz
remove unsed variable
-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 005ae92a665..b1f8366d83b 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -3322,10 +3322,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++)