Since we're on it, only call closelog() if openlog() was called.
There is no crash if we do that, but still it's not very correct.
Signed-off-by: Pete Zaitcev zait...@redhat.com
---
server/server.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit
Allow random ports for replication master to listen on.
The patch is somewhat larger than expected, because before we had
the MASTER file written right after locking. Now we may have it
written without listening parameters, and the slaves must be
ready to deal with it.
Unlike the auto client