Skip to content

Commit

Permalink
fix session leak (#269)
Browse files Browse the repository at this point in the history
Co-authored-by: Yichen Wang <[email protected]>
  • Loading branch information
zjtaozjtw and Aiee authored Apr 4, 2023
1 parent bf9fe21 commit 58215e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions session_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func (pool *SessionPool) ExecuteWithParameter(stmt string, params map[string]int
if err != nil {
return nil, err
}
session = s
return resp, nil
}

Expand Down

0 comments on commit 58215e2

Please sign in to comment.