mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 08:34:19 +01:00
Convert u64 rowid to i64
Rowids can be negative, therefore let's swap to i64
This commit is contained in:
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user