summaryrefslogtreecommitdiff
path: root/sql/partition_info.h
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-10-21 13:59:11 +0200
committerMikael Ronstrom <mikael@mysql.com>2009-10-21 13:59:11 +0200
commit10210bfef2e16f9a2033bf6444bb18a121f989a1 (patch)
tree8072ec9cc4bcff99fea892a535c03e50f8e32316 /sql/partition_info.h
parentbbd922b09c94bafb18e583a00865750164358736 (diff)
parent9ef69958c5f9c0078b6e440cc2730c459d40964f (diff)
downloadmariadb-git-10210bfef2e16f9a2033bf6444bb18a121f989a1.tar.gz
Merge
Diffstat (limited to 'sql/partition_info.h')
-rw-r--r--sql/partition_info.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 2ed0289f656..ab9ee7c6931 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -320,6 +320,7 @@ static inline void init_single_partition_iterator(uint32 part_id,
{
part_iter->part_nums.start= part_iter->part_nums.cur= part_id;
part_iter->part_nums.end= part_id+1;
+ part_iter->ret_null_part= part_iter->ret_null_part_orig= FALSE;
part_iter->get_next= get_next_partition_id_range;
}
@@ -330,5 +331,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->num_parts;
+ part_iter->ret_null_part= part_iter->ret_null_part_orig= FALSE;
part_iter->get_next= get_next_partition_id_range;
}