Merge remote-tracking branch 'origin/2.2' into 2.2

This commit is contained in:
Johan Wikman 2018-02-08 13:44:40 +02:00
commit b91fa7d395
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@
#include <string.h>
#include <dlfcn.h>
#include <algorithm>
#include <string>
#include <maxscale/modinfo.h>
#include <maxscale/log_manager.h>

View File

@ -2372,7 +2372,7 @@ monitorMain(void *arg)
}
}
ss_dassert(handle->master == root_master);
ss_dassert(root_master == NULL || handle->master == root_master);
ss_dassert(!root_master ||
((root_master->server->status & (SERVER_SLAVE | SERVER_MASTER))
!= (SERVER_SLAVE | SERVER_MASTER)));