mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-30 21:45:37 +00:00
[3882a] Added new getDBVersion() class method
This commit is contained in:
@@ -1265,6 +1265,15 @@ MySqlLeaseMgr::~MySqlLeaseMgr() {
|
||||
// closed in the destructor of the mysql_ member variable.
|
||||
}
|
||||
|
||||
std::string
|
||||
MySqlLeaseMgr::getDBVersion() {
|
||||
std::stringstream tmp;
|
||||
tmp << "MySQL backend " << CURRENT_VERSION_VERSION;
|
||||
tmp << "." << CURRENT_VERSION_MINOR;
|
||||
tmp << " library " << mysql_get_client_info();
|
||||
return (tmp.str());
|
||||
}
|
||||
|
||||
|
||||
// Time conversion methods.
|
||||
//
|
||||
|
Reference in New Issue
Block a user