mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-03-14 03:25:15 +01:00
lib: Delete stale timestamp documents during database upgrade.
Once we move the timestamp to the new directory document, we don't need the old one anymore.
This commit is contained in:
parent
c485c51585
commit
5fe5e802ab
1 changed files with 2 additions and 0 deletions
|
@ -783,6 +783,8 @@ notmuch_database_upgrade (notmuch_database_t *notmuch,
|
|||
term.c_str() + 10);
|
||||
notmuch_directory_set_mtime (directory, mtime);
|
||||
notmuch_directory_destroy (directory);
|
||||
|
||||
db->delete_document (*p);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue