Skip to content

Commit

Permalink
clone kv timeout
Browse files Browse the repository at this point in the history
Signed-off-by: you06 <you1474600@gmail.com>
  • Loading branch information
you06 committed Aug 14, 2023
1 parent 538741f commit b2a10a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sessionctx/stmtctx/stmtctx.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ func (sh *StmtHints) Clone() *StmtHints {
return &StmtHints{
MemQuotaQuery: sh.MemQuotaQuery,
MaxExecutionTime: sh.MaxExecutionTime,
TidbKvReadTimeout: sh.TidbKvReadTimeout,
ReplicaRead: sh.ReplicaRead,
AllowInSubqToJoinAndAgg: sh.AllowInSubqToJoinAndAgg,
NoIndexMergeHint: sh.NoIndexMergeHint,
Expand All @@ -483,6 +484,7 @@ func (sh *StmtHints) Clone() *StmtHints {
HasMemQuotaHint: sh.HasMemQuotaHint,
HasReplicaReadHint: sh.HasReplicaReadHint,
HasMaxExecutionTime: sh.HasMaxExecutionTime,
HasTidbKvReadTimeout: sh.HasTidbKvReadTimeout,
HasEnableCascadesPlannerHint: sh.HasEnableCascadesPlannerHint,
HasResourceGroup: sh.HasResourceGroup,
SetVars: vars,
Expand Down

0 comments on commit b2a10a4

Please sign in to comment.