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:
@@ -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[";
|
||||
|
Reference in New Issue
Block a user