Mercurial > hg > orthanc-databases
diff Framework/Common/DatabaseManager.cpp @ 119:260fc55f10cd OrthancMySQL-2.0
cancelling changesets 116 and 117 in OrthancMySQL-2.0 branch
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Feb 2019 16:32:45 +0100 |
parents | 569e17419eae |
children |
line wrap: on
line diff
--- a/Framework/Common/DatabaseManager.cpp Mon Feb 04 16:03:17 2019 +0100 +++ b/Framework/Common/DatabaseManager.cpp Mon Feb 04 16:32:45 2019 +0100 @@ -21,8 +21,6 @@ #include "DatabaseManager.h" -#include <Plugins/Samples/Common/OrthancPluginCppWrapper.h> - #include <Core/Logging.h> #include <Core/OrthancException.h> @@ -512,18 +510,6 @@ } assert(statement_ != NULL); - - /* - TODO - Sample code to monitor the execution time of each - cached statement, and publish it as an Orthanc metrics - - #if HAS_ORTHANC_PLUGIN_METRICS == 1 - std::string name = (std::string(location_.GetFile()) + "_" + - boost::lexical_cast<std::string>(location_.GetLine())); - OrthancPlugins::MetricsTimer timer(name.c_str()); - #endif - */ - SetResult(GetTransaction().Execute(*statement_, parameters)); } catch (Orthanc::OrthancException& e)