Commit 7d9f97f5 authored by Georgi Kodinov's avatar Georgi Kodinov

fixed a valgrind warning in partitioning code

parent 8f5b17f5
...@@ -6909,6 +6909,7 @@ int get_part_iter_for_interval_via_walking(partition_info *part_info, ...@@ -6909,6 +6909,7 @@ int get_part_iter_for_interval_via_walking(partition_info *part_info,
Field *field; Field *field;
uint total_parts; uint total_parts;
partition_iter_func get_next_func; partition_iter_func get_next_func;
part_iter->ret_null_part= part_iter->ret_null_part_orig= FALSE;
if (is_subpart) if (is_subpart)
{ {
field= part_info->subpart_field_array[0]; field= part_info->subpart_field_array[0];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment