summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-09-02 18:42:08 +0300
committerGeorgi Kodinov <joro@sun.com>2009-09-02 18:42:08 +0300
commitb64e7fb5befaee89f1db90db05e80e4249feba77 (patch)
tree2967610b628a605d84b1a908560ac91dc3cec3d1 /sql
parentdedcfe2f3dfae9ee07dc0e7dd429d03f30970d70 (diff)
downloadmariadb-git-b64e7fb5befaee89f1db90db05e80e4249feba77.tar.gz
fixed a valgrind warning in partition_pruning
Diffstat (limited to 'sql')
-rw-r--r--sql/partition_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 8832b6ee409..9f438e8260b 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -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;
}