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

Bug #12117 disconnect() does not work as documented
Submitted: 2007-09-25 20:05 UTC
From: jonez Assigned: quipo
Status: Closed Package: MDB2 (version 2.4.1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 37 + 25 = ?

 
 [2007-09-25 20:05 UTC] jonez (Jeff MacDonald)
Description: ------------ the disconnect() method in MDB2.php does not use the $force parameter. also, the documentation says that a true, false, or pear::error will be returned, but the method only returns MDB2_OK.

Comments

 [2007-10-06 10:49 UTC] quipo (Lorenzo Alberton)
The $force parameter IS used, have a look at the drivers, they're overriding the base class function. Regarding the return value, you're right, the doc reflects the old (MDB v.1) behaviour. I will fix it ASAP.
 [2008-03-22 08:43 UTC] doconnor (Daniel O'Connor)
Lorenzo, is this addressed in the docs?
 [2008-07-14 16:05 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.