Patch for Bug #48877 "bindValue" and "bindParam" do not work for PDO Firebird
| From: | DAbramov at american-appraisal dot com | Date: | Sat, 10 Dec 2011 12:23:41 +0000 |
| Subject: | Patch for Bug #48877 "bindValue" and "bindParam" do not work for PDO Firebird | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-56859@lists.php.net to get a copy of this message | ||
Hi,
Here is my patch for the bug 48877 (https://bugs.php.net/bug.php?id=48877)
Index: ext/pdo_firebird/firebird_driver.c
===================================================================
--- ext/pdo_firebird/firebird_driver.c (revision 320803)
+++ ext/pdo_firebird/firebird_driver.c (working copy)
@@ -433,6 +433,7 @@
case ':':
in_param = 1;
ppname = pname;
+ *ppname++ = sql[l];
case '?':
*c++ = '?';
++pindex;
Thanks
Best regards,
Dmitry Abramov
American Appraisal (AAR) Inc.
www.american-appraisal.ru