Skip to content

Commit 985a078

Browse files
committed
ext/mysqlnd: fix passing wrong parameter after a893a49
1 parent cfc7652 commit 985a078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysqlnd/mysqlnd_connection.c

+1-1
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)