Skip to content

Commit 8f6c182

Browse files
committed
Merge branch 'mysql-8.0' into mysql-trunk
Change-Id: I872d94121a89a210c63d0502b357deec9b476443
2 parents 0934c1f + c4c63cc commit 8f6c182

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

router/src/routing/src/mysql_routing.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -708,8 +708,8 @@ void MySQLRouting::run(mysql_harness::PluginFuncEnv *env) {
708708
auto res = run_acceptor(env);
709709
if (!res) {
710710
clear_running(env);
711-
throw std::runtime_error(string_format(
712-
"Failed setting up acceptor services: %s", res.error().c_str()));
711+
712+
throw std::runtime_error(res.error());
713713
}
714714
}
715715
}

router/tests/component/test_router_configuration_errors.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,8 +438,8 @@ static const BrokenConfigParams broken_config_params_unix[]{
438438
{"socket", "/this/path/does/not/exist/socket"},
439439
}),
440440
},
441-
"Failed setting up acceptor services: Failed setting up acceptor on "
442-
"'/this/path/does/not/exist/socket': No such file or directory",
441+
"Failed setting up acceptor on '/this/path/does/not/exist/socket': "
442+
"No such file or directory",
443443
""},
444444
};
445445

0 commit comments

Comments
 (0)