Skip to content

Commit

Permalink
donot check pk dup in some case (matrixorigin#13162)
Browse files Browse the repository at this point in the history
donot check pk dup in some case

Approved by: @badboynt1
  • Loading branch information
ouyuanning authored Dec 1, 2023
1 parent ff38571 commit 6f2a181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/plan/build_dml_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func buildInsertPlans(

// make insert plans
insertBindCtx := NewBindContext(builder, nil)
err := makeInsertPlan(ctx, builder, insertBindCtx, objRef, tableDef, 0, sourceStep, true, false, checkInsertPkDup, true, pkFilterExpr, newPartitionExpr, isInsertWithoutAutoPkCol, true, nil)
err := makeInsertPlan(ctx, builder, insertBindCtx, objRef, tableDef, 0, sourceStep, true, false, checkInsertPkDup, true, pkFilterExpr, newPartitionExpr, isInsertWithoutAutoPkCol, !builder.qry.LoadTag, nil)
return err
}

Expand Down

0 comments on commit 6f2a181

Please sign in to comment.