Bug #16047 [Opn->Csd]: mdb2 replaces pgsql casting of field with bound parameter, new release needed
| From: | daniel dot oconnor at gmail dot com | Date: | Mon, 23 Mar 2009 22:06:27 +0000 |
| Subject: | Bug #16047 [Opn->Csd]: mdb2 replaces pgsql casting of field with bound parameter, new release needed | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-251@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=16047&edit=1
ID: 16047
Updated by: daniel.oconnor@gmail.com
Reported By: jam at zoidtechnologies dot com
Summary: mdb2 replaces pgsql casting of field with bound
parameter, new release needed
-Status: Open
+Status: Closed
Type: Bug
Package: MDB2
Package Version: 2.4.1
PHP Version: 5.1.6
-Assigned To:
+Assigned To: quipo
Roadmap Versions:
New Comment:
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: quipo
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download
at
http://pear.php.net/get/
Previous Comments:
------------------------------------------------------------------------
[2009-03-19 19:58:27] jonez
Description:
------------
MDB2 handles casts in pgsql incorrectly. BUG 15296 reports this as
"fixed in CVS" but a new release has not been made.
Test script:
---------------
$sql = "select foo::text from bar where baz=?"
$dat = array(42)
$res = $dbh->getAll($sql, null, $dat, array("integer"))
Expected result:
----------------
select foo::text from bar where baz=42
Actual result:
--------------
select foo:$1 from bar where baz=42
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=16047&edit=1