Convert u64 rowid to i64

Rowids can be negative, therefore let's swap to i64
This commit is contained in:
Pere Diaz Bou 2025-05-30 13:07:05 +02:00
parent 0fbff54b90
commit da4190a23e
10 changed files with 75 additions and 64 deletions

View file

@ -122,7 +122,7 @@ fn test_integer_primary_key() -> anyhow::Result<()> {
}
}
assert_eq!(rowids.len(), 2);
assert!(rowids[0] > 0);
assert!(rowids[1] == -1);
assert!(rowids[0] == -1);
assert!(rowids[1] == 0);
Ok(())
}