Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id:
110983
Status:
resolved
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Normal
Broken in:
4.035_03
Fixed in:
(no value)



Subject: mysql_fd should return undef if DBH is disconnected
mysql_fd will continue to return the same file descriptor after the connection is closed. That file descriptor might get reused by the OS for an unrelated process, in which case trying to do anything with it could be bad. mysql_fd should return undef if the connection has been closed. I looked at the XS code but it was not obvious to me how to create a patch for this. Thanks! Larry
Subject: mysql_fd should return undef if DBH is disconnected
mysql_fd will continue to return the same file descriptor after the connection is closed. That file descriptor might get reused by the OS for an unrelated process, in which case trying to do anything with it could be bad. mysql_fd should return undef if the connection has been closed. I looked at the XS code but it was not obvious to me how to create a patch for this. Thanks! Larry
Subject: mysql_fd should return undef if DBH is disconnected (duplicate)
Sorry, somehow created a duplicate of 110983. Closing this one.
Reopening, fix was reverted in 4.043.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

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