fix dump import

This commit is contained in:
Marin Postma
2021-05-27 14:30:20 +02:00
parent c47369839b
commit b258f4f394
7 changed files with 133 additions and 99 deletions

View File

@ -178,6 +178,7 @@ impl HeedUuidStore {
Ok(0) => break,
Ok(_) => {
let DumpEntry { uuid, uid } = serde_json::from_str(&line)?;
println!("importing {} {}", uid, uuid);
db.db.put(&mut txn, &uid, uuid.as_bytes())?;
}
Err(e) => Err(e)?,