Skip to content

Commit

Permalink
Fix data race in infinity::UnSyncCounter@physical_limit::Offset(unsig…
Browse files Browse the repository at this point in the history
…ned long)
  • Loading branch information
yangzq50 committed Jan 9, 2025
1 parent b732f36 commit 7033b39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/executor/operator/physical_limit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ PhysicalLimit::PhysicalLimit(u64 id,
offset = (static_pointer_cast<ValueExpression>(offset_expr_))->GetValue().value_.big_int;
}

counter_ = MakeUnique<UnSyncCounter>(offset, limit);
counter_ = MakeUnique<AtomicCounter>(offset, limit);
}

void PhysicalLimit::Init() {}
Expand Down

0 comments on commit 7033b39

Please sign in to comment.