mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-31 04:13:39 +00:00
fix off by 1
This commit is contained in:
@@ -189,8 +189,8 @@ impl Store {
|
|||||||
// TODO: try to recover.
|
// TODO: try to recover.
|
||||||
}
|
}
|
||||||
|
|
||||||
let id = self.revision;
|
|
||||||
self.revision += 1;
|
self.revision += 1;
|
||||||
|
let id = self.revision;
|
||||||
let res = Arc::new(Revision {
|
let res = Arc::new(Revision {
|
||||||
id,
|
id,
|
||||||
patch,
|
patch,
|
||||||
|
|||||||
Reference in New Issue
Block a user