mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
For example, implementing `SELECT DISTINCT` (#1517) and `UNION` (#1545) require that we are able to create indexes without a rowid column present. Similarly, `WITHOUT ROWID` tables require this. I implemented this by replacing the `rowid` and `empty_record` properties in `BtreeCursor` with ```rust /// Whether the cursor is currently pointing to a record. #[derive(Debug, Clone, Copy, PartialEq)] enum CursorHasRecord { Yes { rowid: Option<u64>, // not all indexes and btrees have rowids, so this is optional. }, No, } ``` Reviewed-by: Pere Diaz Bou <pere-altea@homail.com> Closes #1518 |
||
|---|---|---|
| .. | ||
| access_method.rs | ||
| constraints.rs | ||
| cost.rs | ||
| join.rs | ||
| lift_common_subexpressions.rs | ||
| mod.rs | ||
| OPTIMIZER.md | ||
| order.rs | ||