1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

BUG20733: Bug in partition pruning with zerofill field

Problem was with handling NULL values in ranges
This commit is contained in:
mikael/pappa@dator5.(none)
2006-07-20 05:28:16 -04:00
parent bae61f209d
commit cef004845c
10 changed files with 521 additions and 1 deletions

View File

@ -3203,7 +3203,12 @@ static bool create_partition_index_description(PART_PRUNE_PARAM *ppar)
ppar->is_part_keypart[part]= !in_subpart_fields;
ppar->is_subpart_keypart[part]= in_subpart_fields;
/*
Check if this was last field in this array, in this case we
switch to subpartitioning fields. (This will only happens if
there are subpartitioning fields to cater for).
*/
if (!*(++field))
{
field= part_info->subpart_field_array;