From 32b5bcacd3e44f6e46cbae6631d817654082c243 Mon Sep 17 00:00:00 2001 From: Matt Mundell Date: Mon, 24 Jun 2024 22:19:03 +0200 Subject: [PATCH] Fix: Add DATA_TYPE back to GET_AGGREGATES/AGGREGATE (cherry picked from commit 13d9083d5b94dc4fe77d85b224561870415bfb01) --- src/gmp.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/gmp.c b/src/gmp.c index 128ff751a..45a914897 100644 --- a/src/gmp.c +++ b/src/gmp.c @@ -10192,6 +10192,10 @@ buffer_aggregate_wc_xml (GString *xml, iterator_t* aggregate, g_string_append_printf (xml, ""); + g_string_append_printf (xml, + "%s", + type); + g_string_append_printf (xml, "%s", group_column); @@ -10509,6 +10513,10 @@ buffer_aggregate_xml (GString *xml, iterator_t* aggregate, const gchar* type, g_string_append_printf (xml, ""); + g_string_append_printf (xml, + "%s", + type); + for (index = 0; index < data_columns->len ;index ++) { gchar *column_name = g_array_index (data_columns, gchar*, index);