Summary: So iOS size_t is 32-bit, so we need to static_cast<size_t> any uint64_t :( Test Plan: TARGET_OS=IOS make static_lib Reviewers: dhruba, ljin, yhchiang, rven, sdong Reviewed By: sdong Subscribers: dhruba, leveldb Differential Revision: https://reviews.facebook.net/D28743main
parent
fa50abb726
commit
25f273027b
@ -0,0 +1,18 @@ |
||||
// Copyright (c) 2013, Facebook, Inc. All rights reserved.
|
||||
// This source code is licensed under the BSD-style license found in the
|
||||
// LICENSE file in the root directory of this source tree. An additional grant
|
||||
// of patent rights can be found in the PATENTS file in the same directory.
|
||||
|
||||
#pragma once |
||||
|
||||
#include "rocksdb/status.h" |
||||
#include "rocksdb/iterator.h" |
||||
|
||||
namespace rocksdb { |
||||
|
||||
// Seek to the properties block.
|
||||
// If it successfully seeks to the properties block, "is_found" will be
|
||||
// set to true.
|
||||
Status SeekToPropertiesBlock(Iterator* meta_iter, bool* is_found); |
||||
|
||||
} // namespace rocksdb
|
@ -0,0 +1,13 @@ |
||||
// Copyright (c) 2013, Facebook, Inc. All rights reserved.
|
||||
// This source code is licensed under the BSD-style license found in the
|
||||
// LICENSE file in the root directory of this source tree. An additional grant
|
||||
// of patent rights can be found in the PATENTS file in the same directory.
|
||||
#pragma once |
||||
|
||||
#include <string> |
||||
|
||||
#include "rocksdb/options.h" |
||||
|
||||
namespace rocksdb { |
||||
void DumpDBFileSummary(const DBOptions& options, const std::string& dbname); |
||||
} // namespace rocksdb
|
Loading…
Reference in new issue