• S
    DBImpl::GetWalPreallocateBlockSize() should return size_t · d78a4401
    sdong 提交于
    Summary: WritableFile::SetPreallocationBlockSize() requires parameter as size_t, and options used in DBImpl::GetWalPreallocateBlockSize() are all size_t. WritableFile::SetPreallocationBlockSize() should return size_t to avoid build break if size_t is not uint64_t.
    
    Test Plan: Run existing tests.
    
    Reviewers: andrewkr, IslamAbdelRahman, yiwu
    
    Reviewed By: yiwu
    
    Subscribers: leveldb, andrewkr, dhruba
    
    Differential Revision: https://reviews.facebook.net/D64137
    d78a4401
db_impl.cc 216.0 KB