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() +
|
cfd_->imm()->current()->GetTotalNumEntries() +
|
||||||
current->GetEstimatedActiveKeys();
|
current->GetEstimatedActiveKeys();
|
||||||
return true;
|
return true;
|
||||||
|
#ifndef ROCKSDB_LITE
|
||||||
case kIsFileDeletionEnabled:
|
case kIsFileDeletionEnabled:
|
||||||
*value = db->IsFileDeletionsEnabled();
|
*value = db->IsFileDeletionsEnabled();
|
||||||
return true;
|
return true;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -50,7 +50,7 @@ class BlockBuilder {
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
const int block_restart_interval_;
|
const int block_restart_interval_;
|
||||||
const Comparator* comparator_;
|
const Comparator* comparator_ __attribute__((unused)); // only used in assert
|
||||||
|
|
||||||
std::string buffer_; // Destination buffer
|
std::string buffer_; // Destination buffer
|
||||||
std::vector<uint32_t> restarts_; // Restart points
|
std::vector<uint32_t> restarts_; // Restart points
|
||||||
|
Loading…
Reference in New Issue
Block a user