Skip to content

Commit

Permalink
Don't re-use resultsObserver in CloneForMirroring
Browse files Browse the repository at this point in the history
Signed-off-by: Rafer Hazen <rafer@ralua.com>
  • Loading branch information
rafer committed Aug 29, 2024
1 parent 55b951a commit 5a8f060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vtgate/vcursor_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 */"
Expand Down

0 comments on commit 5a8f060

Please sign in to comment.