fixed a valgrind warning in partition_pruning

This commit is contained in:
Georgi Kodinov 2009-09-02 18:42:08 +03:00
parent dedcfe2f3d
commit b64e7fb5be

View file

@ -311,5 +311,6 @@ void init_all_partitions_iterator(partition_info *part_info,
{
part_iter->part_nums.start= part_iter->part_nums.cur= 0;
part_iter->part_nums.end= part_info->no_parts;
part_iter->ret_null_part= part_iter->ret_null_part_orig= FALSE;
part_iter->get_next= get_next_partition_id_range;
}