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