this is the number of params, not the top index

This commit is contained in:
George Schlossnagle 2005-08-30 19:59:11 +00:00
parent 6a687a1fad
commit 26fd380b1d
2 changed files with 2 additions and 2 deletions

View File

@ -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[] = {

View File

@ -419,7 +419,7 @@ static int pdo_oci_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_DC
{ "dbname", "", 0 }
};
php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 4);
php_pdo_parse_data_source(dbh->data_source, dbh->data_source_len, vars, 2);
H = pecalloc(1, sizeof(*H), dbh->is_persistent);
dbh->driver_data = H;