bring back accidently removed whitespace
This commit is contained in:
parent
607cc6c782
commit
0e912bca5b
@ -324,7 +324,7 @@ impl JournalDB for OverlayRecentDB {
|
|||||||
trace!(target: "journaldb", "Delete journal for time #{}.{}: {}, (canon was {}): +{} -{} entries", end_era, index, journal.id, canon_id, journal.insertions.len(), journal.deletions.len());
|
trace!(target: "journaldb", "Delete journal for time #{}.{}: {}, (canon was {}): +{} -{} entries", end_era, index, journal.id, canon_id, journal.insertions.len(), journal.deletions.len());
|
||||||
{
|
{
|
||||||
if *canon_id == journal.id {
|
if *canon_id == journal.id {
|
||||||
for h in &journal.insertions {
|
for h in &journal.insertions {
|
||||||
if let Some((d, rc)) = journal_overlay.backing_overlay.raw(&to_short_key(h)) {
|
if let Some((d, rc)) = journal_overlay.backing_overlay.raw(&to_short_key(h)) {
|
||||||
if rc > 0 {
|
if rc > 0 {
|
||||||
canon_insertions.push((h.clone(), d)); //TODO: optimize this to avoid data copy
|
canon_insertions.push((h.clone(), d)); //TODO: optimize this to avoid data copy
|
||||||
|
Loading…
Reference in New Issue
Block a user