MXS-2008 Update gateway and tests to initialize maxbase

Update gateway and tests to initialize maxbase using

  maxbase::init();

instead of initializing individual components.
This commit is contained in:
Johan Wikman
2018-08-21 09:37:40 +03:00
parent e852dcacdd
commit 3576780f78
6 changed files with 15 additions and 21 deletions

View File

@ -18,7 +18,7 @@
#include <string>
#include <sstream>
#include <vector>
#include <maxbase/messagequeue.hh>
#include <maxbase/maxbase.hh>
#include <maxscale/alloc.h>
#include <set>
@ -70,7 +70,7 @@ private:
int main()
{
mxb::MessageQueue::init();
maxbase::init();
MariaDBMonitor::Test tester;
return tester.run_tests();