Skip Menu |

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

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

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

Bug Information
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.