mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-09 18:24:20 +01:00
fix/vdbe: call seek_to_last() only once in op_new_rowid
This commit is contained in:
@@ -5509,10 +5509,6 @@ pub fn op_new_rowid(
|
||||
let current_max = {
|
||||
let mut cursor = state.get_cursor(*cursor);
|
||||
let cursor = cursor.as_btree_mut();
|
||||
|
||||
// Move to last record
|
||||
return_if_io!(cursor.seek_to_last());
|
||||
|
||||
return_if_io!(cursor.rowid())
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user