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

Bug #9895 Error mapping broken since 5.2.0
Submitted: 2007-01-20 18:09 UTC Modified: 2007-01-21 03:48 UTC
From: toni dot viemero at iki dot fi Assigned: quipo
Status: Closed Package: MDB2 (version 2.3.0)
PHP Version: 5_2 CVS-2007-01-20 OS: FreeBSD
Roadmaps: (Not assigned)    
Subscription  


 [2007-01-20 18:09 UTC] toni dot viemero at iki dot fi (Toni Viemerö)
Description: ------------ I've just hit exactly the same problem as described in this bug: http://pear.php.net/bugs/bug.php?id=9599 Test script: --------------- <?php require_once 'MDB2.php'; $dsn = array( 'phptype' => 'sqlite', 'database' => 'test.db', ); $mdb2 =& MDB2::factory($dsn); $res = $mdb2->nextID('test'); if (PEAR::isError($res)) { print "fail"; } else { print $res; } Expected result: ---------------- 1 Actual result: -------------- fail

Comments

 [2007-01-21 03:48 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.