mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-22 02:50:04 -05:00
@@ -492,7 +492,7 @@ func processBatchQuery(ctx context.Context, query string, se *sqlEngine) error {
|
||||
return fmt.Errorf("Error inserting rows: %v", err.Error())
|
||||
}
|
||||
|
||||
if batchEditStats.numRowsInserted % maxBatchSize == 0 {
|
||||
if batchEditStats.numRowsInserted%maxBatchSize == 0 {
|
||||
err := se.db.Flush(ctx)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
@@ -16,9 +16,9 @@ package sql
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"testing"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/google/uuid"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
Reference in New Issue
Block a user