fix readamp test type inconsistency

This commit is contained in:
Aaron Gao 2017-05-12 14:13:16 -07:00
parent 9e58371114
commit 87f35fbd3e

View File

@ -1640,7 +1640,7 @@ size_t GetEncodedEntrySize(size_t key_size, size_t value_size) {
TEST_F(DBTest2, ReadAmpBitmap) {
Options options = CurrentOptions();
BlockBasedTableOptions bbto;
size_t bytes_per_bit[2] = {1, 16};
uint32_t bytes_per_bit[2] = {1, 16};
for (size_t k = 0; k < 2; k++) {
// Disable delta encoding to make it easier to calculate read amplification
bbto.use_delta_encoding = false;