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