Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Sep 19, 2024
1 parent 9792fe6 commit 7ef29c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bulkerlib/implementations/sql/abstract_transactional.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ func (ps *AbstractTransactionalSQLStream) flushBatchFile(ctx context.Context) (s
ps.eventsInBatch = 0
}()
if ps.batchFile != nil && ps.eventsInBatch > 0 {
_, err = ps.sqlAdapter.TableHelper().EnsureTableWithCaching(ctx, ps.tx, ps.id, table)
_, err = ps.sqlAdapter.TableHelper().EnsureTableWithoutCaching(ctx, ps.tx, ps.id, table)
if err != nil {
return state, errorj.Decorate(err, "failed to create table")
}
Expand Down

0 comments on commit 7ef29c2

Please sign in to comment.