Bugzilla – Attachment 42058 Details for
Bug 14197
Warning raised by TestBuilder
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14197: TestBuilder - Remove the error on starting the transaction
Bug-14197-TestBuilder---Remove-the-error-on-starti.patch (text/plain), 1.15 KB, created by
Marcel de Rooy
on 2015-08-28 10:16:36 UTC
(
hide
)
Description:
Bug 14197: TestBuilder - Remove the error on starting the transaction
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-08-28 10:16:36 UTC
Size:
1.15 KB
patch
obsolete
>From b97efb1b49f9d4fed3cd425646b65f0a1825e01a Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@koha-community.org> >Date: Thu, 9 Jul 2015 09:35:12 +0100 >Subject: [PATCH] Bug 14197: TestBuilder - Remove the error on starting the > transaction >Content-Type: text/plain; charset=utf-8 > >DBD::mysql::db begin_work failed: Already in a transaction at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1560. >DBIx::Class::Storage::DBI::txn_rollback(): Storage transaction_depth 0 does not match false AutoCommit of DBI::db=HASH(0xa429648), attempting ROLLBACK anyway at t/lib/TestBuilder.pm line 363 > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/lib/TestBuilder.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm >index 72b087d..7d6d971 100644 >--- a/t/lib/TestBuilder.pm >+++ b/t/lib/TestBuilder.pm >@@ -72,7 +72,9 @@ sub new { > bless( $self, $class ); > > $self->schema( Koha::Database->new()->schema ); >- $self->schema->txn_begin(); >+ eval { >+ $self->schema->txn_begin(); >+ }; > $self->schema->storage->sql_maker->quote_char('`'); > return $self; > } >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14197
:
39146
|
40859
|
42055
|
42056
|
42057
|
42058
|
42059
|
42545
|
42546