summaryrefslogtreecommitdiff
path: root/db/builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'db/builder.cc')
-rw-r--r--db/builder.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/db/builder.cc b/db/builder.cc
index f3d0fe2..d5585c3 100644
--- a/db/builder.cc
+++ b/db/builder.cc
@@ -74,7 +74,9 @@ Status BuildTable(const std::string& dbname,
if (s.ok()) {
// Verify that the table is usable
- Iterator* it = table_cache->NewIterator(ReadOptions(), meta->number);
+ Iterator* it = table_cache->NewIterator(ReadOptions(),
+ meta->number,
+ meta->file_size);
s = it->status();
delete it;
}