Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: Tim.Bunce [...] pobox.com
Cc:
AdminCc:

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



Subject: auto-reconnect should clear CachedKids
Download (untitled) / with headers
text/plain 397b
To clear CachedKids on auto-reconnect: SvREFCNT_dec(DBIc_CACHED_KIDS(imp_dbh)); DBIc_CACHED_KIDS(imp_dbh) = Nullhv; The docs also need to explain that any server-side prepared statement handles held by the application will be broken by an auto-reconnect. DBD::mysql could detect this and automatically prepare them again from the original Statement when they're next executed.


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

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