changeset 660:a40b6b48dbcd attach-custom-data

merged default -> attach-custom-data
author Alain Mazy <am@orthanc.team>
date Mon, 19 May 2025 16:26:18 +0200
parents 917629011a86 (current diff) 1975d5f63b34 (diff)
children 3b36405ccecd
files PostgreSQL/Plugins/SQL/PrepareIndex.sql
diffstat 5 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MySQL/Plugins/IndexPlugin.cpp	Mon May 19 16:12:25 2025 +0200
+++ b/MySQL/Plugins/IndexPlugin.cpp	Mon May 19 16:26:18 2025 +0200
@@ -31,6 +31,7 @@
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0)
 #  include <google/protobuf/any.h>
+#  include <google/protobuf/stubs/common.h>
 #endif
 
 #define ORTHANC_PLUGIN_NAME "mysql-index"
--- a/Odbc/Plugins/IndexPlugin.cpp	Mon May 19 16:12:25 2025 +0200
+++ b/Odbc/Plugins/IndexPlugin.cpp	Mon May 19 16:26:18 2025 +0200
@@ -47,6 +47,7 @@
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0)
 #  include <google/protobuf/any.h>
+#  include <google/protobuf/stubs/common.h>
 #endif
 
 
--- a/PostgreSQL/Plugins/IndexPlugin.cpp	Mon May 19 16:12:25 2025 +0200
+++ b/PostgreSQL/Plugins/IndexPlugin.cpp	Mon May 19 16:26:18 2025 +0200
@@ -29,6 +29,7 @@
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0)
 #  include <google/protobuf/any.h>
+#  include <google/protobuf/stubs/common.h>
 #endif
 
 #define ORTHANC_PLUGIN_NAME "postgresql-index"
--- a/PostgreSQL/Plugins/SQL/PrepareIndex.sql	Mon May 19 16:12:25 2025 +0200
+++ b/PostgreSQL/Plugins/SQL/PrepareIndex.sql	Mon May 19 16:26:18 2025 +0200
@@ -53,7 +53,7 @@
        uncompressedHash VARCHAR(40),
        compressedHash VARCHAR(40),
        revision INTEGER,
-       customData TEXT,              -- new in schema rev 4
+       customData TEXT,              -- new in schema rev 5
        PRIMARY KEY(id, fileType)
        );              
 
--- a/SQLite/Plugins/IndexPlugin.cpp	Mon May 19 16:12:25 2025 +0200
+++ b/SQLite/Plugins/IndexPlugin.cpp	Mon May 19 16:26:18 2025 +0200
@@ -28,6 +28,7 @@
 
 #if ORTHANC_PLUGINS_VERSION_IS_ABOVE(1, 12, 0)
 #  include <google/protobuf/any.h>
+#  include <google/protobuf/stubs/common.h>
 #endif
 
 #define ORTHANC_PLUGIN_NAME "sqlite-index"