Skip Menu |
 

This queue is for tickets about the DBD-mysql CPAN distribution.

Report information
The Basics
Id: 89496
Status: resolved
Priority: 0/
Queue: DBD-mysql

People
Owner: CAPTTOFU [...] cpan.org
Requestors: MICHIELB [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: error message reconnect changed with 5.6 client
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.16-7377-1381766271-177.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 1005
Download (untitled) / with headers
text/plain 1005b
If I compile DBD::mysql against the 5.6 MySQL client libraries OR I use the MariaDB C client libraries, one of our tests is failing: t/rt85919-fetch-lost-connection.t .... 2/? # Failed test 'Received error 2006' # at t/rt85919-fetch-lost-connection.t line 39. # got: '2013' # expected: '2006' # Failed test 'Received MySQL server has gone away' # at t/rt85919-fetch-lost-connection.t line 40. # got: 'Lost connection to MySQL server during query' # expected: 'MySQL server has gone away' # Looks like you failed 2 tests of 4. t/rt85919-fetch-lost-connection.t .... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests So I assume the error number that is returned by the C library in this condition has changed. I'm not sure if we should also accept the 2013 error in the test or we should fix it in our C-code. Also a point of attention might be the auto-reconnect code we have that I think uses the error to see if it should reconnect or not. -- Mike
MIME-Version: 1.0
In-Reply-To: <rt-4.0.16-7377-1381766271-177.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.16-7377-1381766271-177.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-9874-1422492735-1171.89496-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 27
This is no longer an issue.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.