Skip to content

Commit

Permalink
table: specify DupKeyCheckLazy in BenchmarkAddRecordInPipelinedDML (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ekexium authored Aug 23, 2024
1 parent 599977b commit ae59dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/table/tables/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func BenchmarkAddRecordInPipelinedDML(b *testing.B) {

b.StartTimer()
for j := 0; j < batchSize; j++ {
_, err := tb.AddRecord(ctx.GetTableCtx(), txn, records[j])
_, err := tb.AddRecord(ctx.GetTableCtx(), txn, records[j], table.DupKeyCheckLazy)
if err != nil {
b.Fatal(err)
}
Expand Down

0 comments on commit ae59dfe

Please sign in to comment.