From e2da744e1241fec301351ca34730877e6cff722a Mon Sep 17 00:00:00 2001 From: "jorlow@chromium.org" Date: Mon, 28 Mar 2011 20:43:44 +0000 Subject: Upstream changes. git-svn-id: https://leveldb.googlecode.com/svn/trunk@16 62dab493-f737-651d-591e-8d6aee1b9529 --- db/builder.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'db/builder.cc') 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; } -- cgit v1.2.1