Files
MaxScale/maxscale-system-test/setup_binlog_gtid.cpp
Markus Mäkelä 16530b4a97 Clean up setup_binlog_gtid
Removed redundant operations and cleaned up unused code.
2017-10-12 12:29:43 +03:00

24 lines
517 B
C++

/**
* @file setup_binlog_gtid.cpp - Basic GTID testing of binlogrouter
*/
#include "testconnections.h"
#include "test_binlog_fnc.h"
int main(int argc, char *argv[])
{
TestConnections test(argc, argv);
test.binlog_master_gtid = true;
test.binlog_slave_gtid = true;
test.start_binlog();
test_binlog(&test);
test.check_log_err("SET NAMES utf8mb4", false);
test.check_log_err("set autocommit=1", false);
test.check_log_err("select USER()", false);
return test.global_result;
}