Skip to content

Commit

Permalink
remove wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
pereman2 committed Nov 18, 2024
1 parent 9f72655 commit 80f6085
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/vdbe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2164,7 +2164,6 @@ impl Program {
}

fn get_new_rowid<R: Rng>(cursor: &mut Box<dyn Cursor>, mut rng: R) -> Result<CursorResult<i64>> {
// TODO: try last + 1 and if it's already a big number then use randomness
cursor.seek_to_last()?;
let mut rowid = cursor.rowid()?.unwrap_or(0) + 1;
if rowid > i64::MAX.try_into().unwrap() {
Expand Down

0 comments on commit 80f6085

Please sign in to comment.