mariadb10 compatibility test without GTID

First implementation of mariadb10 compatibility test without GTID

State machine to be modified for mysql5.6/mariadb10 compatibility
router options for mariadb10 slave registration still missing
This commit is contained in:
MassimilianoPinto
2015-05-06 12:19:18 +02:00
parent 9b4e835434
commit 5c7b2a68e5
3 changed files with 5 additions and 3 deletions

View File

@ -448,7 +448,8 @@ char query[128];
GWBUF_CONSUME_ALL(router->saved_master.chksum2);
router->saved_master.chksum2 = buf;
blr_cache_response(router, "chksum2", buf);
buf = blr_make_query("SELECT @@GLOBAL.GTID_MODE");
//buf = blr_make_query("SELECT @@GLOBAL.GTID_MODE");
buf = blr_make_query("SET @mariadb_slave_capability=4);
router->master_state = BLRM_GTIDMODE;
router->master->func.write(router->master, buf);
break;