Skip to content

Commit

Permalink
support CloseSession
Browse files Browse the repository at this point in the history
  • Loading branch information
demmer committed Nov 3, 2023
1 parent 10521db commit 532dccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgateproxy/vtgateproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (proxy *VTGateProxy) NewSession(ctx context.Context, options *querypb.Execu
// same effect as if a "rollback" statement was executed, but does not affect the query
// statistics.
func (proxy *VTGateProxy) CloseSession(ctx context.Context, session *vtgateconn.VTGateSession) error {
return vterrors.Errorf(vtrpcpb.Code_UNIMPLEMENTED, "not implemented")
return session.CloseSession(ctx)
}

// ResolveTransaction resolves the specified 2PC transaction.
Expand Down

0 comments on commit 532dccc

Please sign in to comment.