Mercurial > hg > orthanc-databases
comparison Framework/Plugins/OrthancCppDatabasePlugin.h @ 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 | ca0ecd412988 |
children | 534759b0cf14 |
comparison
equal
deleted
inserted
replaced
125:b85d672afcb5 | 127:3424a54ca2ee |
---|---|
1839 extensions.getAllMetadata = GetAllMetadata; | 1839 extensions.getAllMetadata = GetAllMetadata; |
1840 performanceWarning = false; | 1840 performanceWarning = false; |
1841 # endif | 1841 # endif |
1842 #endif | 1842 #endif |
1843 | 1843 |
1844 if (performanceWarning) | 1844 if (performanceWarning) |
1845 { | 1845 { |
1846 char info[1024]; | 1846 char info[1024]; |
1847 sprintf(info, | 1847 sprintf(info, |
1848 "Performance warning: The database index plugin was compiled " | 1848 "Performance warning: The database index plugin was compiled " |
1849 "against an old version of the Orthanc SDK (%d.%d.%d): " | 1849 "against an old version of the Orthanc SDK (%d.%d.%d): " |
1850 "Consider upgrading to version 1.5.2 of the Orthanc SDK", | 1850 "Consider upgrading to version 1.5.4 of the Orthanc SDK", |
1851 ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER, | 1851 ORTHANC_PLUGINS_MINIMAL_MAJOR_NUMBER, |
1852 ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER, | 1852 ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER, |
1853 ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER); | 1853 ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER); |
1854 | 1854 |
1855 OrthancPluginLogWarning(context, info); | 1855 OrthancPluginLogWarning(context, info); |