sql_generation: Fix WHERE clause generation

We're currently only generating `WHERE (TRUE)` and `WHERE (FALSE)`. Fix that.
This commit is contained in:
Pekka Enberg
2025-09-08 11:33:18 +03:00
parent 9f6c11a74f
commit c8d034ed04

View File

@@ -229,7 +229,7 @@ impl FromClause {
let mut join_table = JoinTable {
tables: vec![first_table.clone()],
rows: Vec::new(),
rows: first_table.rows.clone(),
};
for join in &self.joins {