use mro 'c3';
use SQL::Abstract 'is_plain_value';
-use DBIx::Class::_Util qw(modver_gt_or_eq sigwarn_silencer dbic_internal_try);
+use DBIx::Class::_Util qw(
+ modver_gt_or_eq sigwarn_silencer
+ dbic_internal_try dbic_internal_catch
+);
use DBIx::Class::Carp;
-use Try::Tiny;
use namespace::clean;
__PACKAGE__->sql_maker_class('DBIx::Class::SQLMaker::SQLite');
version 0.08210) you may still have corrupted/incorrect data in your database.
DBIx::Class warned about this condition for several years, hoping to give
anyone affected sufficient notice of the potential issues. The warning was
-removed in version 0.082900.
+removed in 2015/v0.082820.
=back
$really_not_in_txn = 1;
}
- catch {
+ dbic_internal_catch {
$really_not_in_txn = ( $_[0] =~ qr/transaction within a transaction/
? 0
: undef