]> granicus.if.org Git - php/commitdiff
this is the number of params, not the top index (otherwise unix_socket doesnt work
authorGeorge Schlossnagle <gschlossnagle@php.net>
Tue, 30 Aug 2005 19:55:54 +0000 (19:55 +0000)
committerGeorge Schlossnagle <gschlossnagle@php.net>
Tue, 30 Aug 2005 19:55:54 +0000 (19:55 +0000)
ext/pdo_mysql/mysql_driver.c

index 6321eb24f8a2ec5ee8ecc3eb5b0902d1fcf646db..415440537fb57c89175fcc5ff51a0aecc15b5376 100755 (executable)
@@ -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);