mirror of
https://github.com/google/leveldb.git
synced 2024-11-27 15:39:03 +08:00
FileMetaData: fix init number
This commit is contained in:
parent
58a89bbcb2
commit
58f9bfcffb
@ -16,7 +16,7 @@ namespace leveldb {
|
||||
class VersionSet;
|
||||
|
||||
struct FileMetaData {
|
||||
FileMetaData() : refs(0), allowed_seeks(1 << 30), file_size(0) {}
|
||||
FileMetaData() : refs(0), allowed_seeks(1 << 30), number(0), file_size(0) {}
|
||||
|
||||
int refs;
|
||||
int allowed_seeks; // Seeks allowed until compaction
|
||||
|
Loading…
Reference in New Issue
Block a user