DBIx-OnlineDDL
view release on metacpan or search on metacpan
lib/DBIx/OnlineDDL/Helper/SQLite.pm view on Meta::CPAN
return @stmts;
}
sub is_error_retryable {
my ($self, $error) = @_;
# Disable /x flag to allow for whitespace within string, but turn it on for newlines
# and comments.
return $error =~ m<
# Locks
(?-x:database( table)? is locked)|
# Connections
(?-x:attempt to [\w\s]+ on inactive database handle)|
# Queries
(?-x:query aborted)|
(?-x:interrupted)
>xi;
}
( run in 0.665 second using v1.01-cache-2.11-cpan-49f99fa48dc )