mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-10 02:34:20 +01:00
Merge 'core/mvcc: start first rowid at 1' from Pere Diaz Bou
Reviewed-by: Jussi Saurio <jussi.saurio@gmail.com> Reviewed-by: Avinash Sajjanshetty (@avinassh) Closes #2688
This commit is contained in:
@@ -157,7 +157,7 @@ impl<Clock: LogicalClock> MvccLazyCursor<Clock> {
|
||||
self.last();
|
||||
match self.current_pos {
|
||||
CursorPosition::Loaded(id) => id.row_id + 1,
|
||||
CursorPosition::BeforeFirst => i64::MIN,
|
||||
CursorPosition::BeforeFirst => 1,
|
||||
CursorPosition::End => i64::MAX,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user