aboutsummaryrefslogtreecommitdiff
path: root/base/src
diff options
context:
space:
mode:
Diffstat (limited to 'base/src')
-rw-r--r--base/src/database.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/base/src/database.rs b/base/src/database.rs
index 90e42b9..2eecbf6 100644
--- a/base/src/database.rs
+++ b/base/src/database.rs
@@ -107,10 +107,17 @@ impl Database {
let mut t_node = txn.open_table(T_NODE)?;
let mut t_node_children = txn.open_table(T_NODE_CHILDREN)?;
let mut t_node_external_id = txn.open_table(T_NODE_EXTERNAL_ID)?;
+ let mut t_import_file_mtime = txn.open_table(T_IMPORT_FILE_MTIME)?;
t_node.retain(|_, _| false)?;
t_node_children.retain(|_, _| false)?;
t_node_external_id.retain(|_, _| false)?;
- drop((t_node, t_node_children, t_node_external_id));
+ t_import_file_mtime.retain(|_, _| false)?;
+ drop((
+ t_node,
+ t_node_children,
+ t_node_external_id,
+ t_import_file_mtime,
+ ));
txn.commit()?;
Ok(())
}