Bugzilla – Attachment 81318 Details for
Bug 21684
Koha::Object[s]->delete methods must behave identically as the corresponding DBIx::Class ones
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21684: Add auto_savepoint to DBIC connection
Bug-21684-Add-autosavepoint-to-DBIC-connection.patch (text/plain), 1018 bytes, created by
Jonathan Druart
on 2018-10-26 16:57:19 UTC
(
hide
)
Description:
Bug 21684: Add auto_savepoint to DBIC connection
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2018-10-26 16:57:19 UTC
Size:
1018 bytes
patch
obsolete
>From dabce94fb022f1d97f0bd13aad4e7d7f551005f6 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 26 Oct 2018 11:17:40 -0300 >Subject: [PATCH] Bug 21684: Add auto_savepoint to DBIC connection > >https://metacpan.org/pod/distribution/DBIx-Class/lib/DBIx/Class/Manual/Cookbook.pod#Nested-transactions-and-auto-savepoints > >Otherwise: >DBIx::Class::Storage::txn_rollback(): A txn_rollback in nested transaction is ineffective! (depth 1) at t/db_dependent/Koha/Objects.t line 274 > >Possible side-effects? Slowness? >--- > Koha/Database.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/Database.pm b/Koha/Database.pm >index 56ffc46488..f959325b65 100644 >--- a/Koha/Database.pm >+++ b/Koha/Database.pm >@@ -96,6 +96,7 @@ sub _new_schema { > PrintError => 1, > unsafe => 1, > quote_names => 1, >+ auto_savepoint => 1, > on_connect_do => [ > $encoding_query || (), > $tz_query || (), >-- >2.11.0
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 21684
:
81317
|
81318
|
81319
|
90937
|
96218
|
96254
|
96270
|
96271
|
96272
|
96429
|
96430
|
96431
|
96872
|
96888
|
96895
|
96898