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:
commit
abd6db3d04
1 changed files with 1 additions and 0 deletions
|
@ -489,6 +489,7 @@ async fn upload_path_new_unchunked(
|
||||||
seq: Set(0),
|
seq: Set(0),
|
||||||
chunk_id: Set(Some(chunk.id)),
|
chunk_id: Set(Some(chunk.id)),
|
||||||
chunk_hash: Set(upload_info.nar_hash.to_typed_base16()),
|
chunk_hash: Set(upload_info.nar_hash.to_typed_base16()),
|
||||||
|
compression: Set(compression.to_string()),
|
||||||
..Default::default()
|
..Default::default()
|
||||||
})
|
})
|
||||||
.exec(&txn)
|
.exec(&txn)
|
||||||
|
|
Loading…
Reference in a new issue