diff --git a/src/parallel b/src/parallel index 4c62232e..a0f80a54 100755 --- a/src/parallel +++ b/src/parallel @@ -10194,7 +10194,8 @@ sub get { my $self = shift; my $sth = $self->run(@_); my @retval; - while(1) { + # If $sth = 0 it means the table was dropped by another process + while($sth) { my @row = $sth->fetchrow_array(); @row or last; push @retval, \@row;