Re: [RDBO] swapping db handles?

2006-05-19 Thread Jonathan Vanasco
On May 18, 2006, at 2:54 PM, John Siracusa wrote: I think that covers most of the "simple" permutations. Anything I missed? actually, here's a question: how would you suggest configuring things so RoseDB never tries to connect to a database itself? i need to do something so that

Re: [RDBO] swapping db handles?

2006-05-19 Thread John Siracusa
On 5/19/06 9:26 PM, Jonathan Vanasco wrote: > i need to do something so that > > sub init_db { NewApp::RoseDB->new } > > isn't actually a database connect It isn't. Calling new() on a Rose::DB-derived object won't connect to the database. It'll just create the object. > in my very awkward set

Re: [RDBO] swapping db handles?

2006-05-19 Thread Jonathan Vanasco
On May 19, 2006, at 10:16 PM, John Siracusa wrote: It isn't. Calling new() on a Rose::DB-derived object won't connect to the database. It'll just create the object. oh great. Yeah, basically. Just give bogus information for hostname, username, password, etc. The only thing you need t