summaryrefslogtreecommitdiff
path: root/ext/pdo_firebird
diff options
context:
space:
mode:
authorGeorge Schlossnagle <gschlossnagle@php.net>2005-08-30 19:59:11 +0000
committerGeorge Schlossnagle <gschlossnagle@php.net>2005-08-30 19:59:11 +0000
commit26fd380b1df960509315f45186c3cf10a42198c5 (patch)
tree113155f77c6e940b50f0d950449bbd5f5156c336 /ext/pdo_firebird
parent6a687a1fad99ddc1ed4ce233ef0c43470a453afe (diff)
downloadphp-git-26fd380b1df960509315f45186c3cf10a42198c5.tar.gz
this is the number of params, not the top index
Diffstat (limited to 'ext/pdo_firebird')
-rw-r--r--ext/pdo_firebird/firebird_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_firebird/firebird_driver.c b/ext/pdo_firebird/firebird_driver.c
index f47e6f31ec..d040c2614b 100644
--- a/ext/pdo_firebird/firebird_driver.c
+++ b/ext/pdo_firebird/firebird_driver.c
@@ -602,7 +602,7 @@ static int pdo_firebird_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRM
int i, ret = 0;
pdo_firebird_db_handle *H = dbh->driver_data = pecalloc(1,sizeof(*H),dbh->is_persistent);
- php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 2);
+ php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 3);
do {
static char const dpb_flags[] = {