You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2023/06/06 00:24:57 UTC
[calcite-avatica-go] 03/03: [CALCITE-5752] Don't register connection again on session reset
This is an automated email from the ASF dual-hosted git repository.
francischuang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/calcite-avatica-go.git
commit af034f4a5f6b153d624f064687a89579520a3cd0
Author: Parag Jain <pj...@apache.org>
AuthorDate: Mon Jun 5 19:16:25 2023 +0530
[CALCITE-5752] Don't register connection again on session reset
---
connection.go | 4 ----
1 file changed, 4 deletions(-)
diff --git a/connection.go b/connection.go
index 22f5b83..3ffa0ea 100644
--- a/connection.go
+++ b/connection.go
@@ -243,10 +243,6 @@ func (c *conn) ResetSession(_ context.Context) error {
if c.connectionId == "" {
return driver.ErrBadConn
}
- err := registerConn(c)
- if err != nil {
- return err
- }
return nil
}