From c84a193c8acfcc0bcb4ee0f0b3a1cdadd5f36d92 Mon Sep 17 00:00:00 2001
From: florian <f.spreckelsen@inidscale.com>
Date: Fri, 6 Aug 2021 17:33:41 +0200
Subject: [PATCH] MAINT: Make return of GetCountResult long

---
 include/caosdb/transaction.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/caosdb/transaction.h b/include/caosdb/transaction.h
index bb40a8e..e2a2ebc 100644
--- a/include/caosdb/transaction.h
+++ b/include/caosdb/transaction.h
@@ -364,7 +364,7 @@ public:
    * this transaction. In all other cases, the return value will be
    * -1.
    */
-  [[nodiscard]] inline auto GetCountResult() const -> int {
+  [[nodiscard]] inline auto GetCountResult() const -> long {
     return query_count;
   }
 
-- 
GitLab