cargo fmt

This commit is contained in:
meteorgan
2025-07-06 00:40:49 +08:00
parent 08be906bb1
commit 3065416bb2

View File

@@ -4392,7 +4392,7 @@ pub fn op_idx_delete(
);
found
};
if !found {
// If P5 is not zero, then raise an SQLITE_CORRUPT_INDEX error if no matching index entry is found
// Also, do not raise this (self-correcting and non-critical) error if in writable_schema mode.
@@ -4414,7 +4414,7 @@ pub fn op_idx_delete(
let cursor = cursor.as_btree_mut();
return_if_io!(cursor.rowid())
};
if rowid.is_none() && *raise_error_if_no_matching_entry {
return Err(LimboError::Corrupt(format!(
"IdxDelete: no matching index entry found for record {:?}",