From 226066626643938f84a96b688a3c86c2cd01e0c1 Mon Sep 17 00:00:00 2001 From: xiaolei li <85657333+xleili@users.noreply.github.com> Date: Sat, 9 Apr 2022 19:26:11 +0800 Subject: [PATCH] [driver]:csharp change FreeResult() return type to void (#11348) --- src/connector/C#/src/TDengineDriver/TDengineDriver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/connector/C#/src/TDengineDriver/TDengineDriver.cs b/src/connector/C#/src/TDengineDriver/TDengineDriver.cs index 4117406355..8b53bda562 100644 --- a/src/connector/C#/src/TDengineDriver/TDengineDriver.cs +++ b/src/connector/C#/src/TDengineDriver/TDengineDriver.cs @@ -277,7 +277,7 @@ namespace TDengineDriver static extern public IntPtr FetchRows(IntPtr res); [DllImport("taos", EntryPoint = "taos_free_result", CallingConvention = CallingConvention.Cdecl)] - static extern public IntPtr FreeResult(IntPtr res); + static extern public void FreeResult(IntPtr res); [DllImport("taos", EntryPoint = "taos_close", CallingConvention = CallingConvention.Cdecl)] static extern public void Close(IntPtr taos); -- GitLab