Home » Database » MDB2 » Bug #9895
Error mapping broken since 5.2.0
Details
| Submitted | 2007-01-20 23:09 UTC |
|---|---|
| From | toni dot viemero at iki dot fi |
| Assigned | quipo |
| Status | Closed |
| Package | MDB2 |
| PHP Version | 5_2 CVS-2007-01-20 |
| OS | FreeBSD |
| Roadmaps | (Not assigned) |
Comments
[2007-01-20 23:09 UTC] toni dot viemero at iki dot fi
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