Skip Menu |

This queue is for tickets about the CPAN-WWW-Testers-Generator CPAN distribution.

Report information
The Basics
Id: 50086
Status: resolved
Priority: 0/
Queue: CPAN-WWW-Testers-Generator

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

Bug Information
Severity: Wishlist
Broken in: 0.30
Fixed in: (no value)



Subject: Can I have a ->dbh method?
The way I maintain my copy of the database at the moment is to have one writer and many readers. My application suffered from frequent sqlite failures. It seems I could correct this misbehaviour with $dbi->{dbh}->func(20000,'busy_timeout'); I'd like to have some legal/official access to the internal db handle instead. WDYT? Regards from Berlin,
The db handles are already available when you create the object, as: $obj->{CPANSTATS} # MySQL cpanstats database $obj->{LITESTATS} # SQLite cpanstats database $obj->{METABASE} # MySQL metabase database Thanks, Barbie.