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

Owner: CAPTTOFU [...]
Requestors: MICHIELB [...]

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

Subject: error message reconnect changed with 5.6 client
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
This is no longer an issue.

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

Please report any issues with to