From 6a687a1fad99ddc1ed4ce233ef0c43470a453afe Mon Sep 17 00:00:00 2001 From: George Schlossnagle Date: Tue, 30 Aug 2005 19:55:54 +0000 Subject: [PATCH] this is the number of params, not the top index (otherwise unix_socket doesnt work --- ext/pdo_mysql/mysql_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1