You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by cu...@apache.org on 2023/11/14 00:05:42 UTC

(arrow-adbc) branch main updated: fix(csharp/client/adbcconnection): reset AdbcStatement on dispose (#1289)

This is an automated email from the ASF dual-hosted git repository.

curth pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 715a06af fix(csharp/client/adbcconnection): reset AdbcStatement on dispose (#1289)
715a06af is described below

commit 715a06af3d2ba646bce95e13145a0b4202903a43
Author: davidhcoe <13...@users.noreply.github.com>
AuthorDate: Mon Nov 13 19:05:36 2023 -0500

    fix(csharp/client/adbcconnection): reset AdbcStatement on dispose (#1289)
    
    sets the AdbcStatement to null when disposing (BigQuery fails if this
    does not happen)
    
    ---------
    
    Co-authored-by: David Coe <co...@umich.edu>
---
 csharp/src/Client/AdbcConnection.cs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/csharp/src/Client/AdbcConnection.cs b/csharp/src/Client/AdbcConnection.cs
index 598bc66f..a1ab743a 100644
--- a/csharp/src/Client/AdbcConnection.cs
+++ b/csharp/src/Client/AdbcConnection.cs
@@ -146,6 +146,7 @@ namespace Apache.Arrow.Adbc.Client
         {
             this.adbcConnectionInternal?.Dispose();
             this.adbcConnectionInternal = null;
+            this.adbcStatement = null;
 
             base.Dispose(disposing);
         }