This also causes that slave info file is not written when --slave-info specified, because write_slave_info() subroutine is called from mysql_lockall()
This also causes that slave info file is not written when --slave-info specified, because write_slave_info() subroutine is called from mysql_lockall()