summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird
diff options
context:
space:
mode:
authorPopa Adrian Marius <mariuz@php.net>2011-12-10 22:09:59 +0000
committerPopa Adrian Marius <mariuz@php.net>2011-12-10 22:09:59 +0000
commitc55f9258b9b971f990e4dd247e0374b7808d5009 (patch)
tree06175d8e79b177c8e8232a90027af3d59224977b /ext/pdo_firebird
parentfbe48da3962c1ced39c2e6aa0064c207c6bc3caf (diff)
downloadphp-git-c55f9258b9b971f990e4dd247e0374b7808d5009.tar.gz
bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird
Diffstat (limited to 'ext/pdo_firebird')
-rw-r--r--ext/pdo_firebird/firebird_driver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_firebird/firebird_driver.c b/ext/pdo_firebird/firebird_driver.c
index d9c6112475..eb47934458 100644
--- a/ext/pdo_firebird/firebird_driver.c
+++ b/ext/pdo_firebird/firebird_driver.c
@@ -433,6 +433,7 @@ static int firebird_alloc_prepare_stmt(pdo_dbh_t *dbh, const char *sql, long sql
case ':':
in_param = 1;
ppname = pname;
+ *ppname++ = sql[l];
case '?':
*c++ = '?';
++pindex;