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

Bug #19262 Fetchmode constants WERE bitwise
Submitted: 2012-01-31 04:30 UTC
From: gauthierm Assigned: gauthierm
Status: Closed Package: MDB2 (version SVN)
PHP Version: Irrelevant OS:
Roadmaps: 2.5.0b4    

 [2012-01-31 04:30 UTC] gauthierm (Michael Gauthier)
Description: ------------ Fetchmode constants were made non-bitwise in revision=321197&view=markup This breaks FETCH_MODE_OBJECT. Previously, (FETCH_MODE_OBJECT & FETCH_MODE_ASSOC) == FETCH_MODE_ASSOC was used to set up the column names on object result. This was not obvious from looking at the code. A better way to fix it would be to add a logical OR to the conditional so FETCH_MODE_OBJECT is included.


 [2012-01-31 05:57 UTC] gauthierm (Michael Gauthier)
-Status: Open +Status: Closed -Assigned To: +Assigned To: gauthierm
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the 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.