This commit is contained in:
Brian Fraser
2012-01-31 13:15:15 -03:00
parent 0a81ddeaad
commit 807dbcfe21
2 changed files with 19 additions and 2 deletions

View File

@@ -303,7 +303,7 @@ sub calculate_chunks {
# from the beginning of the last chunk to infinity, or to the max col
# value if chunk_range is openclosed. If the chunk column is nullable,
# do NULL separately.
my $chunk_range = lc $args{chunk_range} || 'open';
my $chunk_range = lc($args{chunk_range} || 'open');
my $nullable = $args{tbl_struct}->{is_nullable}->{$args{chunk_col}};
pop @chunks;
if ( @chunks ) {