mirror of
https://github.com/google/leveldb.git
synced 2026-08-22 10:53:27 +08:00
format
This commit is contained in:
@@ -348,7 +348,8 @@ Status Version::Get(const ReadOptions& options, const LookupKey& k,
|
||||
static bool Match(void* arg, int level, FileMetaData* f) {
|
||||
State* state = reinterpret_cast<State*>(arg);
|
||||
|
||||
if (state->last_file_read != nullptr && state->stats->seek_file == nullptr) {
|
||||
if (state->last_file_read != nullptr &&
|
||||
state->stats->seek_file == nullptr) {
|
||||
// We have had more than one seek for this read. Charge the 1st file.
|
||||
state->stats->seek_file = state->last_file_read;
|
||||
state->stats->seek_file_level = state->last_file_level;
|
||||
|
||||
Reference in New Issue
Block a user