http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14778

--- Comment #3 from Jonathan Druart <jonathan.dru...@bugs.koha-community.org> 
---
I confirm that this patch fixes bug 14375.

% sudo echo 'wait_timeout = 10' >> /etc/mysql/conf.d/koha.cnf
% more test.pl
use Modern::Perl;
use C4::Context;
my $dbh = C4::Context->dbh;
$dbh->{RaiseError} = 1;
$dbh->{PrintError} = 1;

say $dbh->do('SELECT * FROM systempreferences');

sleep 11;

$dbh = C4::Context->dbh;
say $dbh->do('SELECT * FROM systempreferences');

% git checkout master
% perl test.pl
518
DBD::mysql::db do failed: MySQL server has gone away [for Statement "SELECT *
FROM systempreferences"] at test.pl line 12.
DBD::mysql::db do failed: MySQL server has gone away [for Statement "SELECT *
FROM systempreferences"] at test.pl line 12.

% git checkout -b bug_14726; git bz apply 14726
perl test.pl
518
518

(518 prefs, really???)

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to