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 <[email protected]>
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 <[email protected]>
---
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);
}