Mercurial > hg > orthanc-databases
changeset 128:39b2f29ddf3c
integration OrthancPostgreSQL-3.1 to mainline
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 Feb 2019 19:55:01 +0100 |
parents | de1dbd841e2b (current diff) 3424a54ca2ee (diff) |
children | 534759b0cf14 |
files | |
diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Plugins/OrthancCppDatabasePlugin.h Fri Feb 08 18:43:02 2019 +0100 +++ b/Framework/Plugins/OrthancCppDatabasePlugin.h Fri Feb 08 19:55:01 2019 +0100 @@ -1841,13 +1841,13 @@ # endif #endif - if (performanceWarning) + if (performanceWarning) { char info[1024]; sprintf(info, "Performance warning: The database index plugin was compiled " "against an old version of the Orthanc SDK (%d.%d.%d): " - "Consider upgrading to version 1.5.2 of the Orthanc SDK", + "Consider upgrading to version 1.5.4 of the Orthanc SDK", ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER, ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER, ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER);
--- a/Framework/Plugins/PluginInitialization.cpp Fri Feb 08 18:43:02 2019 +0100 +++ b/Framework/Plugins/PluginInitialization.cpp Fri Feb 08 19:55:01 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"; }