Fix ios compile
Summary: We need to set contbuild for this :) Test Plan: compiles Reviewers: sdong, yhchiang, ljin Reviewed By: ljin Subscribers: leveldb Differential Revision: https://reviews.facebook.net/D22701
This commit is contained in:
parent
7dcadb1d37
commit
990df99a61
@ -257,9 +257,11 @@ bool InternalStats::GetIntProperty(DBPropertyType property_type,
|
||||
cfd_->imm()->current()->GetTotalNumEntries() +
|
||||
current->GetEstimatedActiveKeys();
|
||||
return true;
|
||||
#ifndef ROCKSDB_LITE
|
||||
case kIsFileDeletionEnabled:
|
||||
*value = db->IsFileDeletionsEnabled();
|
||||
return true;
|
||||
#endif
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
@ -50,7 +50,7 @@ class BlockBuilder {
|
||||
|
||||
private:
|
||||
const int block_restart_interval_;
|
||||
const Comparator* comparator_;
|
||||
const Comparator* comparator_ __attribute__((unused)); // only used in assert
|
||||
|
||||
std::string buffer_; // Destination buffer
|
||||
std::vector<uint32_t> restarts_; // Restart points
|
||||
|
Loading…
Reference in New Issue
Block a user