limbo/core/translate
Jussi Saurio d8c84a3593 Make WhereTerm::eval_at() handling more reasonable
- Remove hacky `usize::MAX` unwrapping for `EvalAt::Loop` edge cases
  where the term shouldnt be evaluated, and replace it with `EvalAt::Never`.
     - `EvalAt::Never` is only expected in join optimization passes
       where we are considering a subset of tables, and a given
       `WhereTerm` refers to a table that is not in scope of that
       subset of tables.
- Fold `determine_where_to_eval_term()` into `WhereTerm::eval_at()`
  since it's not used anywhere else.
2025-05-27 19:33:51 +03:00
..
optimizer Add stable internal_id property to TableReference 2025-05-25 20:26:17 +03:00
aggregation.rs Support LIMIT with UNION ALL 2025-05-24 13:12:41 +03:00
collate.rs Correct Rtrim 2025-05-19 15:22:15 -03:00
delete.rs Add stable internal_id property to TableReference 2025-05-25 20:26:17 +03:00
emitter.rs correct union result_row or yield emission + test 2025-05-26 01:06:26 -03:00
expr.rs Add stable internal_id property to TableReference 2025-05-25 20:26:17 +03:00
group_by.rs Add stable internal_id property to TableReference 2025-05-25 20:26:17 +03:00
index.rs adjust translate functions to take a program instead of Option<ProgramBuilder> + remove any Init emission in traslate functions + use epilogue in all places necessary 2025-05-21 16:41:10 -03:00
insert.rs fix num_values detection + emitting correct column for temp_table + tests 2025-05-25 19:15:28 -03:00
main_loop.rs Rename SelectQueryType to QueryDestination 2025-05-25 21:23:04 +03:00
mod.rs remove assumption that translate_select is always called from a top-level context + adjust insert to use translate_select when needed 2025-05-25 19:12:30 -03:00
order_by.rs Add stable internal_id property to TableReference 2025-05-25 20:26:17 +03:00
plan.rs Make WhereTerm::eval_at() handling more reasonable 2025-05-27 19:33:51 +03:00
planner.rs Make WhereTerm::eval_at() handling more reasonable 2025-05-27 19:33:51 +03:00
pragma.rs core/pragma: Remove unnecessary clone in user_version and cache_size 2025-05-23 08:43:07 -03:00
result_row.rs Rename SelectQueryType to QueryDestination 2025-05-25 21:23:04 +03:00
schema.rs Addresses comment https://github.com/tursodatabase/limbo/pull/1548#discussion_r2103333264 by @jussisaurio 2025-05-23 10:19:08 +05:30
select.rs tests with compound select 2025-05-25 19:15:28 -03:00
subquery.rs Rename SelectQueryType to QueryDestination 2025-05-25 21:23:04 +03:00
transaction.rs adjust translate functions to take a program instead of Option<ProgramBuilder> + remove any Init emission in traslate functions + use epilogue in all places necessary 2025-05-21 16:41:10 -03:00
update.rs Add stable internal_id property to TableReference 2025-05-25 20:26:17 +03:00
values.rs Rename SelectQueryType to QueryDestination 2025-05-25 21:23:04 +03:00