Skip to content

Commit c072f64

Browse files
committed
print more debugging info
1 parent da49843 commit c072f64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/mysqlnd/mysqlnd_auth.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ php_log_err_with_severity((char*) plugin_data, LOG_NOTICE);
7878
struct st_mysqlnd_authentication_plugin * auth_plugin = conn->m->fetch_auth_plugin_by_name(requested_protocol);
7979

8080
if (!auth_plugin) {
81+
php_log_err_with_severity("auth plugin not found", LOG_NOTICE);
8182
if (first_call) {
8283
mnd_pefree(requested_protocol, FALSE);
8384
requested_protocol = mnd_pestrdup(MYSQLND_DEFAULT_AUTH_PROTOCOL, FALSE);
@@ -113,6 +114,7 @@ php_log_err_with_severity((char*) plugin_data, LOG_NOTICE);
113114
passwd_len, plugin_data, plugin_data_len,
114115
session_options, conn->protocol_frame_codec->data,
115116
mysql_flags);
117+
php_log_err_with_severity((char*) scrambled_data, LOG_NOTICE);
116118
}
117119

118120
if (conn->error_info->error_no) {

0 commit comments

Comments
 (0)