Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
imtbkcat committed Apr 7, 2020
1 parent e2ac2d9 commit eac1e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planner/core/common_plans.go
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ func (e *Execute) getPhysicalPlan(ctx context.Context, sctx sessionctx.Context,
}
_, isTableDual := p.(*PhysicalTableDual)
isPartition := e.isPartition(p)
if !isTableDual && prepared.UseCache && ! isPartition {
if !isTableDual && prepared.UseCache && !isPartition {
sctx.PreparedPlanCache().Put(cacheKey, NewPSTMTPlanCacheValue(p))
}
return p, err
Expand Down

0 comments on commit eac1e85

Please sign in to comment.