summaryrefslogtreecommitdiffstats
path: root/src/lib/mysql/mysql_connection.cc
diff options
context:
space:
mode:
authorRazvan Becheriu <razvan@isc.org>2024-04-22 20:42:28 +0200
committerRazvan Becheriu <razvan@isc.org>2024-04-22 22:00:31 +0200
commitf27254c45d79c7c907780e17da6d20e5f699c1c1 (patch)
tree3e1cbb0c7167ec03b94b1a85a0ba991e9ff2d943 /src/lib/mysql/mysql_connection.cc
parent[#3315] use stopAndPoll (diff)
downloadkea-f27254c45d79c7c907780e17da6d20e5f699c1c1.tar.xz
kea-f27254c45d79c7c907780e17da6d20e5f699c1c1.zip
[#3315] use enum SpawnMode instead of bool
Diffstat (limited to 'src/lib/mysql/mysql_connection.cc')
-rw-r--r--src/lib/mysql/mysql_connection.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/mysql/mysql_connection.cc b/src/lib/mysql/mysql_connection.cc
index 052e8539a2..4ce3d15aa2 100644
--- a/src/lib/mysql/mysql_connection.cc
+++ b/src/lib/mysql/mysql_connection.cc
@@ -434,7 +434,7 @@ MySqlConnection::initializeSchema(const ParameterMap& parameters) {
kea_admin_parameters.insert(kea_admin_parameters.begin(), "db-init");
// Run.
- ProcessSpawn kea_admin(true, KEA_ADMIN_, kea_admin_parameters, vars,
+ ProcessSpawn kea_admin(ProcessSpawn::SYNC, KEA_ADMIN_, kea_admin_parameters, vars,
/* inherit_env = */ true);
DB_LOG_INFO(MYSQL_INITIALIZE_SCHEMA).arg(kea_admin.getCommandLine());
pid_t const pid(kea_admin.spawn());