Merge pull request #14 from DarkKirb/fix-compression-field-null-insert
fix null insertion in chunkref table
This commit is contained in:
commit
abd6db3d04
|
@ -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