2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-09-05 08:25:16 +00:00

[#2585] Checkpoint: finish unit tests

This commit is contained in:
Francis Dupont
2022-10-14 17:01:57 +02:00
parent 04133ea65a
commit d857f78125
13 changed files with 487 additions and 186 deletions

View File

@@ -1800,16 +1800,7 @@ MySqlLeaseMgr::MySqlLeaseMgr(const DatabaseConnection::ParameterMap& parameters)
: parameters_(parameters), timer_name_("") {
// Check if the extended info tables are enabled.
std::string extended_info_tables;
try {
extended_info_tables = parameters_.at("extended-info-tables");
} catch (const exception&) {
extended_info_tables = "false";
}
// If extended_info_tables is 'true' we will enable them.
if (extended_info_tables == "true") {
setExtendedInfoEnabled(true);
}
LeaseMgr::setExtendedInfoEnabled(parameters);
// Create unique timer name per instance.
timer_name_ = "MySqlLeaseMgr[";