Comment 15 for bug 501956

Revision history for this message
In , Ashok-kovai (ashok-kovai) wrote :

> Sending the username is unecessary as the monitor already knows it (ie
> authctxt->user). Hostname can be determined too (see mm_record_login). As a
> general rule, as little as possible should be sent from slave to monitor.

Yes, I have extracted user and hostname from authctxt->user and
get_canonical_hostname () in monitor.c function .