fix/vdbe: call seek_to_last() only once in op_new_rowid

This commit is contained in:
Jussi Saurio
2025-08-02 14:18:58 +03:00
parent 63a5ef596b
commit 130e1f80ea

View File

@@ -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())
};