fix calling mysqlbinlog for the CI

pull/3807/head
Miro Stauder 3 years ago committed by Javier Sánchez Parra
parent 31bea01651
commit 86fd69ac6c

@ -17,9 +17,10 @@ int main(int argc, char** argv) {
return -1;
}
const std::string user = "sbtest1";
const std::string user = "root";
const std::string test_deps_path = getenv("TEST_DEPS");
const int mysqlbinlog_res = system(("mysqlbinlog single_mysql8_backend-bin.000001 "
const int mysqlbinlog_res = system((test_deps_path + "/mysqlbinlog mysql1-bin.000001 "
"--read-from-remote-server --user " + user + " --password=" + user +
" --host 127.0.0.1 --port 6033").c_str());
ok(mysqlbinlog_res == 0, "'mysqlbinlog' should be correctly executed. Err code was: %d", mysqlbinlog_res);

Loading…
Cancel
Save