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

Reply via email to