Skip to content

Commit

Permalink
record id increase (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
cheme committed Jul 17, 2023
1 parent 9f6ec74 commit edee3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ impl DbInner {
let mut overlay = self.commit_overlay.write();

queue.record_id += 1;
let record_id = queue.record_id + 1;
let record_id = queue.record_id;

let mut bytes = 0;
for (c, indexed) in &commit.indexed {
Expand Down

0 comments on commit edee3d1

Please sign in to comment.