Bugzilla – Attachment 68424 Details for
Bug 14600
MySQL server has gone away
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14600 - MySQL server has gone away - Vol2
Bug-14600---MySQL-server-has-gone-away---Vol2.patch (text/plain), 1.03 KB, created by
Olli-Antti Kivilahti
on 2017-10-23 16:28:27 UTC
(
hide
)
Description:
Bug 14600 - MySQL server has gone away - Vol2
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2017-10-23 16:28:27 UTC
Size:
1.03 KB
patch
obsolete
>From fba09a57f3df4c46483e8e2d6bce8c130401a818 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Mon, 23 Oct 2017 19:18:42 +0300 >Subject: [PATCH] Bug 14600 - MySQL server has gone away - Vol2 > >This bug never ceases to relent. >When running REST API tests under debugger. > > perl -d t/db_dependent/api/v1/holds.t > >MySQL server is getting away. > >This fix removed by the community in > > Buug 14778: Make sure the dbh returned is checked by DBIC > >needed to be brought back to life. >--- > Koha/Database.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/Database.pm b/Koha/Database.pm >index fb59eb3..75934dd 100644 >--- a/Koha/Database.pm >+++ b/Koha/Database.pm >@@ -154,7 +154,7 @@ sub schema { > my $params = shift; > > unless ( $params->{new} ) { >- return $database->{schema} if defined $database->{schema}; >+ return $database->{schema} if defined $database->{schema} && $database->{schema}->storage->connected(); > } > > $database->{schema} = &_new_schema(); >-- >2.7.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 14600
:
41152
|
41248
| 68424