]> granicus.if.org Git - php/commitdiff
bug fixed #48877 - bindValue and bindParam do not work for PDO Firebird
authorPopa Adrian Marius <mariuz@php.net>
Sat, 10 Dec 2011 22:04:23 +0000 (22:04 +0000)
committerPopa Adrian Marius <mariuz@php.net>
Sat, 10 Dec 2011 22:04:23 +0000 (22:04 +0000)
ext/pdo_firebird/firebird_driver.c

index d9c61124758ced98f28cfc5ea801fb6c45e731eb..eb47934458eb1bb4704f8842a3ef4df9a64948c6 100644 (file)
@@ -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;