Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.2

Bug #2007 Doesn't support using an existing DB object, but the docs says it should
Submitted: 2004-07-28 21:13 UTC
From: eln at gmx dot net Assigned: quipo
Status: Closed Package: DB_QueryTool
PHP Version: Irrelevant OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-07-28 21:13 UTC] eln at gmx dot net
Description: ------------ Using an existing DB object with DB_QueryTool (instead of passing it a DSN) is not possible, even though the inline documentation says it will. It's a very simple thing to fix, and I've uploaded a patch (against CVS) here: http://ununique.net/div/Query.php.diff Works for me, anyway! Reproduce code: --------------- $db = DB::connect("mysql://user:pass@localhost/db"); $querytool = new DB_QueryTool($db);

Comments

 [2004-07-29 19:06 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2004-07-31 09:44 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!