Delete file bugfix

GitOrigin-RevId: 642e053e52057945d872cc22b95d54bc47cf5dc5
This commit is contained in:
Arseny Smirnov 2018-03-16 14:50:21 +03:00
parent 43fc3a21df
commit 284895eefa

View File

@ -1169,6 +1169,7 @@ void FileManager::clear_from_pmc(FileNodePtr node) {
data.generate_ = std::make_unique<FullGenerateFileLocation>(*node->generate_);
}
file_db_->clear_file_data(node->pmc_id_, data);
node->pmc_id_ = 0;
}
void FileManager::flush_to_pmc(FileNodePtr node, bool new_remote, bool new_local, bool new_generate) {