1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2024-12-14 11:57:30 +00:00

Merge pull request #14 from DarkKirb/fix-compression-field-null-insert

fix null insertion in chunkref table
This commit is contained in:
Zhaofeng Li 2023-01-16 10:46:08 -07:00 committed by GitHub
commit abd6db3d04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -489,6 +489,7 @@ async fn upload_path_new_unchunked(
seq: Set(0),
chunk_id: Set(Some(chunk.id)),
chunk_hash: Set(upload_info.nar_hash.to_typed_base16()),
compression: Set(compression.to_string()),
..Default::default()
})
.exec(&txn)