From 532dcccd1f9406850a7397f9c7e78b6bb7a246af Mon Sep 17 00:00:00 2001 From: Michael Demmer Date: Fri, 3 Nov 2023 09:00:20 -0700 Subject: [PATCH] support CloseSession --- go/vt/vtgateproxy/vtgateproxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtgateproxy/vtgateproxy.go b/go/vt/vtgateproxy/vtgateproxy.go index b27d583bead..0b9e44b8dc4 100644 --- a/go/vt/vtgateproxy/vtgateproxy.go +++ b/go/vt/vtgateproxy/vtgateproxy.go @@ -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.