Commit 5daecafc authored by Ramon Nou's avatar Ramon Nou
Browse files

Enabled size append

parent e7866dd9
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -360,6 +360,7 @@ MetadataDB::increase_size(const std::string& key, size_t size, bool append) {
    auto value = get(key);
    // Decompress string
    Metadata md(value);
    if (append) size=md.size()+size;
    md.size(size);
    update(key,key,md.serialize());
#endif