Added variables for MariaDB 10 compatibility.

This commit is contained in:
Markus Makela
2015-05-07 12:56:58 +03:00
parent 5c7b2a68e5
commit bc7cc2a466
3 changed files with 11 additions and 3 deletions

View File

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