Skip to content

Commit 49783ad

Browse files
change assert to debug_assert
Co-authored-by: Cory Grinstead <[email protected]>
1 parent b8c6f6e commit 49783ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/daft-sql/src/planner.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ impl<'a> SQLPlanner<'a> {
146146

147147
/// Set `self.current_plan`. Should only be called once per query.
148148
fn set_plan(&mut self, plan: LogicalPlanBuilder) {
149-
assert!(self.current_plan.is_none());
149+
debug_assert!(self.current_plan.is_none());
150150

151151
self.current_plan = Some(plan);
152152
}

0 commit comments

Comments
 (0)