Skip Menu |

This queue is for tickets about the DBIx-Class CPAN distribution.

Report information
The Basics
Id: 25502
Status: resolved
Priority: 0/
Queue: DBIx-Class

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: CDBICompat layer does not check db_Main() for database handle each use.
Class::DBI calls db_Main() each time it needs a database handle. This allows you to override db_Main() to have full control over the database handle being used. The DBIC compatibility layer does not appear to do this, it instead only checks db_Main if the database handle is not connected. Passing a code ref into connection() has a similar behavior. I'm not sure how to fix this, or if its fixable, but it should be noted as an incompatibility.
"resolved", at least once your patch set hits