From 5a8f0608044e7d2a7972d6fed4541991dd7b5f71 Mon Sep 17 00:00:00 2001 From: Rafer Hazen Date: Thu, 29 Aug 2024 08:01:11 -0600 Subject: [PATCH] Don't re-use resultsObserver in CloneForMirroring Signed-off-by: Rafer Hazen --- go/vt/vtgate/vcursor_impl.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/vtgate/vcursor_impl.go b/go/vt/vtgate/vcursor_impl.go index 9c91e7d740c..a71ad29184a 100644 --- a/go/vt/vtgate/vcursor_impl.go +++ b/go/vt/vtgate/vcursor_impl.go @@ -1433,7 +1433,7 @@ func (vc *vcursorImpl) CloneForMirroring(ctx context.Context) engine.VCursor { warnShardedOnly: vc.warnShardedOnly, warnings: vc.warnings, pv: vc.pv, - resultsObserver: vc.resultsObserver, + resultsObserver: nullResultsObserver{}, } v.marginComments.Trailing += "/* mirror query */"