From: George Schlossnagle Date: Tue, 30 Aug 2005 19:55:54 +0000 (+0000) Subject: this is the number of params, not the top index (otherwise unix_socket doesnt work X-Git-Tag: PRE_NEW_OCI8_EXTENSION~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a687a1fad99ddc1ed4ce233ef0c43470a453afe;p=php this is the number of params, not the top index (otherwise unix_socket doesnt work --- diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index 6321eb24f8..415440537f 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -395,7 +395,7 @@ static int pdo_mysql_handle_factory(pdo_dbh_t *dbh, zval *driver_options TSRMLS_ #endif ; - 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, 5); H = pecalloc(1, sizeof(pdo_mysql_db_handle), dbh->is_persistent);