X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=localdb.cc;h=7d93bb174320270f53b60dc86295b7caddc9b603;hb=5f2e50c2ad75043142dc1812fe19dbd7ad86488c;hp=cc8a83c9678d946db52e6e8d4c78c8f5e15a846f;hpb=910255ec7fb85ef6c7b9515e9761892ca408c389;p=cumulus.git diff --git a/localdb.cc b/localdb.cc index cc8a83c..7d93bb1 100644 --- a/localdb.cc +++ b/localdb.cc @@ -295,7 +295,7 @@ ObjectReference LocalDb::FindObject(const string &checksum, int64_t size) } else if (rc == SQLITE_ROW) { ref = ObjectReference(IdToSegment(sqlite3_column_int64(stmt, 0)), (const char *)sqlite3_column_text(stmt, 1)); - ref.set_range(0, size); + ref.set_range(0, size, true); } else { fprintf(stderr, "Could not execute SELECT statement!\n"); ReportError(rc);