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

Owner: Nobody in particular
Requestors: mschwern [...]

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.
Download (untitled) / with headers
text/plain 450b
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

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

Please report any issues with to