summaryrefslogtreecommitdiff
path: root/sql/opt_split.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-03-25 14:05:30 +0300
committerMonty <monty@mariadb.org>2018-03-29 14:19:48 +0300
commit75dd94c7cec7672d90cc3d437c1e105cda1d48a6 (patch)
treeb35465512046293c73e4830ab57c09bf59e9fd7c /sql/opt_split.cc
parentd572c19f222f331b0a647fcd6731a494d423a5e0 (diff)
downloadmariadb-git-75dd94c7cec7672d90cc3d437c1e105cda1d48a6.tar.gz
Fixed compiler warnings
Remove compiler warnings in sphinx, item_sum.cc and opt_split.cc
Diffstat (limited to 'sql/opt_split.cc')
-rw-r--r--sql/opt_split.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/opt_split.cc b/sql/opt_split.cc
index 0cb76f03917..6467706bc0b 100644
--- a/sql/opt_split.cc
+++ b/sql/opt_split.cc
@@ -866,8 +866,8 @@ SplM_plan_info * JOIN_TAB::choose_best_splitting(double record_count,
TABLE *best_table= 0;
double best_rec_per_key= DBL_MAX;
SplM_plan_info *spl_plan= 0;
- uint best_key;
- uint best_key_parts;
+ uint best_key= 0;
+ uint best_key_parts= 0;
/*
Check whether there are keys that can be used to join T employing splitting