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

Bug #1614 Wrong options-array passed to DB::connect()
Submitted: 2004-06-11 10:30 UTC
From: tmp002 at dadabase dot de Assigned: quipo
Status: Closed Package: DB_QueryTool
PHP Version: 4.3.6 OS: Gentoo Linux
Roadmaps: (Not assigned)    
Subscription  


 [2004-06-11 10:30 UTC] tmp002 at dadabase dot de
Description: ------------ After upgrading from 0.98 to 0.10.1 connect() in Query.php fails because wrong options-array ist passed to DB::connect(). It's the same array that is passed to the constructor of the Querytool-subclass and contains fields such as 'errorCallback'. DB doesn't like other fields than defined in DB (such as 'debug') and returns a DB_error object.

Comments

 [2004-06-11 15:21 UTC] quipo
-- which PEAR::DB version are you using? Which dbms? I just tried with the latest release, adding extra options like ('fubar' => true), and I didn't see any error...
 [2004-06-11 15:32 UTC] tmp002 at dadabase dot de
It's the recent 1.6.4 version.
 [2004-06-12 18:38 UTC] quipo
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.