Skip to content

Commit 78a6489

Browse files
Carlify comment
1 parent 8658acb commit 78a6489

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/GADS/Datum/Code.pm

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,8 @@ sub write_cache
162162
my $formatter = $self->schema->storage->datetime_parser;
163163

164164
my @values = sort @{$self->value} if defined $self->value->[0];
165-
return if grep { $_ > 250 } map { length($_) } @values; # If the length is greater than 250 characters do not insert it
165+
# If the length is greater than 250 characters do not insert it to the cache table
166+
return if grep { $_ > 250 } map { length($_) } @values;
166167

167168
# We are generally already in a transaction at this point, but
168169
# start another one just in case

0 commit comments

Comments
 (0)