Skip to content

Commit a50b327

Browse files
committed
ext/mysqlnd: fix passing wrong parameter after a893a49
1 parent 94f3272 commit a50b327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ MYSQLND_METHOD(mysqlnd_conn_data, connect)(MYSQLND_CONN_DATA * conn,
665665
}
666666

667667
mysqlnd_set_persistent_string(&conn->username, username.s, username.l, conn->persistent);
668-
mysqlnd_set_persistent_string(&conn->password, username.s, password.l, conn->persistent);
668+
mysqlnd_set_persistent_string(&conn->password, password.s, password.l, conn->persistent);
669669
conn->port = port;
670670
mysqlnd_set_persistent_string(&conn->connect_or_select_db, database.s, database.l, conn->persistent);
671671

0 commit comments

Comments
 (0)