From dbb1269d69b6c6e4c25424be768494d3b440946d Mon Sep 17 00:00:00 2001 From: Leonid Fedorov <79837786+mariadb-LeonidFedorov@users.noreply.github.com> Date: Wed, 18 Aug 2021 19:50:45 +0300 Subject: [PATCH] GetInterrupted returned bool instead of bool * (#2085) --- utils/windowfunction/wf_udaf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/windowfunction/wf_udaf.h b/utils/windowfunction/wf_udaf.h index e87b39759..ef6345e0c 100644 --- a/utils/windowfunction/wf_udaf.h +++ b/utils/windowfunction/wf_udaf.h @@ -74,7 +74,7 @@ public: { return bInterrupted; } - bool getInterruptedPtr() + bool * getInterruptedPtr() { return &bInterrupted; } @@ -98,7 +98,7 @@ protected: bool bHasDropValue; // Set to false when we discover the UDAnF doesn't implement dropValue. // To hold distinct values and their counts typedef std::tr1::unordered_map DistinctMap; - DistinctMap fDistinctMap; + DistinctMap fDistinctMap; static_any::any fValOut; // The return value