Skip to content

Commit 55b951a

Browse files
committed
need resultsObserver when cloning
Signed-off-by: Andres Taylor <andres@planetscale.com>
1 parent e9bb36e commit 55b951a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go/vt/vtgate/vcursor_impl.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1328,6 +1328,7 @@ func (vc *vcursorImpl) cloneWithAutocommitSession() *vcursorImpl {
13281328
topoServer: vc.topoServer,
13291329
warnShardedOnly: vc.warnShardedOnly,
13301330
pv: vc.pv,
1331+
resultsObserver: vc.resultsObserver,
13311332
}
13321333
}
13331334

@@ -1432,6 +1433,7 @@ func (vc *vcursorImpl) CloneForMirroring(ctx context.Context) engine.VCursor {
14321433
warnShardedOnly: vc.warnShardedOnly,
14331434
warnings: vc.warnings,
14341435
pv: vc.pv,
1436+
resultsObserver: vc.resultsObserver,
14351437
}
14361438

14371439
v.marginComments.Trailing += "/* mirror query */"

0 commit comments

Comments
 (0)