Mercurial > hg > orthanc-databases
diff Framework/Plugins/PluginInitialization.cpp @ 127:3424a54ca2ee OrthancPostgreSQL-3.1
fix performance warning
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 Feb 2019 19:54:13 +0100 |
parents | f73050ad32b4 |
children | 534759b0cf14 |
line wrap: on
line diff
--- a/Framework/Plugins/PluginInitialization.cpp Fri Feb 08 18:35:48 2019 +0100 +++ b/Framework/Plugins/PluginInitialization.cpp Fri Feb 08 19:54:13 2019 +0100 @@ -65,7 +65,7 @@ return false; } - if (OrthancPluginCheckVersionAdvanced(context, 1, 4, 0) == 1) + if (OrthancPluginCheckVersionAdvanced(context, 1, 5, 4) == 1) { ImplicitTransaction::SetErrorOnDoubleExecution(true); isOptimal = true; @@ -111,8 +111,8 @@ int revision = boost::lexical_cast<int>(tokens[2]); isOptimal = (major > 1 || - (major == 1 && minor > 4) || - (major == 1 && minor == 4 && revision >= 0)); + (major == 1 && minor > 5) || + (major == 1 && minor == 5 && revision >= 4)); } } @@ -121,7 +121,7 @@ { LOG(WARNING) << "Performance warning in " << dbms << " index: Your version of Orthanc (" - << context->orthancVersion << ") should be upgraded to 1.5.2 " + << context->orthancVersion << ") should be upgraded to 1.5.4 " << "to benefit from best performance"; }