Skip to content

Commit a9c1400

Browse files
committed
remove unreachable code
Signed-off-by: hfuss <hayden.fuss@kaleido.io>
1 parent 8ef39c9 commit a9c1400

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

pkg/dbsql/crud.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -521,9 +521,6 @@ func (c *CrudBase[T]) insertManyMultiRow(ctx context.Context, tx *TXWrapper, ins
521521
chunkSize := len(instances)
522522
if maxPlaceholders := c.DB.Features().MaxPlaceholders; maxPlaceholders > 0 && len(c.Columns) > 0 {
523523
chunkSize = maxPlaceholders / len(c.Columns)
524-
if chunkSize < 1 {
525-
chunkSize = 1
526-
}
527524
}
528525

529526
allSequences := make([]int64, len(instances))

0 commit comments

Comments
 (0)