Skip Menu |

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

Report information
The Basics
Id: 56664
Status: resolved
Worked: 5 min
Priority: 0/
Queue: DBD-mysql

People
Owner: Nobody in particular
Requestors: w.phillip.moore@gmail.com (no email address)
Cc:
AdminCc:

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



Subject: t/40blobs.t skip_all logic is broken in 4.014
In the test file t/40blobs.t a method call on the database handle is made before checking to se if the connection worked, causing a test failure instead of skipping the tests: Can't call method "get_info" on an undefined value at t/40blobs.t line 37. This affects anyone installing DBD::mysql in an environment with no live database against which to test. This seems like an obvious bug, since all the rest of the test scripts correctly call skip_all when the connection fails, which at least results in the tests passing. This bug causes automated installations to fail, needlessly. Simple, trivial patch attached.
Subject: DBD-mysql-4.014-patch
Download DBD-mysql-4.014-patch
application/octet-stream 725b

Message body not shown because it is not plain text.

Thanks for the bug find and patch! In git now git://github.com/CaptTofu/DBD-mysql.git Will release a 4.015 in a week or so.