Bugzilla – Attachment 40062 Details for
Bug 14374
dont use mysql_auto_reconnect with DBIx::Connector
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14374 - dont use mysql_auto_reconnect with BDIx::Connector
Bug-14374---dont-use-mysqlautoreconnect-with-BDIxC.patch (text/plain), 1.06 KB, created by
Fridolin Somers
on 2015-06-10 12:56:02 UTC
(
hide
)
Description:
Bug 14374 - dont use mysql_auto_reconnect with BDIx::Connector
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2015-06-10 12:56:02 UTC
Size:
1.06 KB
patch
obsolete
>From 15302bdda69ab840948ade37d633e2a29a87f8dc Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 10 Jun 2015 14:52:40 +0200 >Subject: [PATCH] Bug 14374 - dont use mysql_auto_reconnect with > BDIx::Connector > >BDIx::Connector doc indicates that handler option mysql_auto_reconnect must be false. >See http://search.cpan.org/perldoc?DBIx%3A%3AConnector%3A%3ADriver%3A%3Amysql > >This patch removes this option setting in C4::Context > >Test plan : >- Check connection to database does not fail for a long time page, such as a huge report >--- > C4/Context.pm | 4 ---- > 1 file changed, 4 deletions(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index 3e3f00c..4386792 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -776,10 +776,6 @@ sub _new_dbh > $dbh->{RaiseError} = 0; > } > >- if ( $db_driver eq 'mysql' ) { >- $dbh->{mysql_auto_reconnect} = 1; >- } >- > my $tz = $ENV{TZ}; > if ( $db_driver eq 'mysql' ) { > # Koha 3.0 is utf-8, so force utf8 communication between mySQL and koha, whatever the mysql default config. >-- >2.1.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 14374
: 40062