Commit c52491f6 authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

Fix converity warning. (RDBAccessSvc-00-09-08)

	* Tagging RDBAccessSvc-00-09-08.
	* Fix coverity warning.
parent e1abfb1d
......@@ -559,7 +559,7 @@ void transferTag(coral::ISessionProxy* proxySrc, coral::ISessionProxy* proxyTarg
} else if(detNodeSrc["NODE_NAME"].data<std::string>() != detNodeTarg["NODE_NAME"].data<std::string>() ||
detNodeSrc["PARENT_ID"].data<long long>() != detNodeTarg["PARENT_ID"].data<long long>()) {
std::ostringstream oString;
oString << "Consistency check failed for the node ID = " << detTagSrc["NODE_ID"].data<long long>() << "\n"
oString << "Consistency check failed for the node ID = " << detNodeSrc["NODE_ID"].data<long long>() << "\n"
<< " Node name: Src: " << detNodeSrc["NODE_NAME"].data<std::string>() << "\tTarg: " << detNodeTarg["NODE_NAME"].data<std::string>() << "\n"
<< " Node parent: Src: " << detNodeSrc["PARENT_ID"].data<long long>() << "\tTarg: " << detNodeTarg["PARENT_ID"].data<long long>();
throw std::runtime_error(oString.str());
......
Supports Markdown
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