Skip to content

Commit b772b93

Browse files
author
Dmitriy Scherbak
committed
add log to detect old auth to mysql
1 parent 492ca37 commit b772b93

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/p1_mysql_auth.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
%% Returns : result of p1_mysql_conn:do_recv/3
5454
%%--------------------------------------------------------------------
5555
do_old_auth(Sock, RecvPid, SeqNum, User, Password, Salt1, LogFun) ->
56+
p1_mysql:log(LogFun, normal, "p1_mysql_auth did old auth", []),
5657
Auth = password_old(Password, Salt1),
5758
Packet2 = make_auth(User, Auth),
5859
do_send(Sock, Packet2, SeqNum, LogFun),

0 commit comments

Comments
 (0)