Commit 3033f888 authored by Thomas Markwalder's avatar Thomas Markwalder

[5629] Addressed review comments

    Added missing schema minor number to CQL log messages.
parent 868996c8
......@@ -1622,7 +1622,8 @@ CqlHostDataSourceImpl::CqlHostDataSourceImpl(const CqlConnection::ParameterMap&
if (code_version != db_version) {
isc_throw(DbOpenError, "Cassandra schema version mismatch: need version: "
<< code_version.first << "." << code_version.second
<< " found version: " << db_version.first << ".");
<< " found version: " << db_version.first << "."
<< db_version.second);
}
// Prepare all possible statements.
......
......@@ -1863,10 +1863,10 @@ CqlLeaseMgr::CqlLeaseMgr(const DatabaseConnection::ParameterMap &parameters)
CQL_SCHEMA_VERSION_MINOR);
std::pair<uint32_t, uint32_t> db_version = getVersion();
if (code_version != db_version) {
isc_throw(DbOpenError,
"Cassandra schema version mismatch: need version: "
<< code_version.first << "." << code_version.second
<< " found version: " << db_version.first << ".");
isc_throw(DbOpenError, "Cassandra schema version mismatch: need version: "
<< code_version.first << "." << code_version.second
<< " found version: " << db_version.first << "."
<< db_version.second);
}
// Now prepare the rest of the exchanges.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment