Set log number for column family

This commit is contained in:
Igor Canadi 2014-02-28 11:08:24 -08:00
parent 510f84b686
commit 099ad94306

View File

@ -2567,6 +2567,7 @@ ColumnFamilyData* VersionSet::CreateColumnFamily(
AppendVersion(new_cfd, new Version(new_cfd, this, current_version_number_++));
new_cfd->CreateNewMemtable();
new_cfd->SetLogNumber(edit->log_number_);
delete new_cfd->InstallSuperVersion(new SuperVersion());
return new_cfd;
}