Skip to content

Commit a6ae9b3

Browse files
committed
Minor change
1 parent 00b580c commit a6ae9b3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/storage/new_txn/new_txn_impl.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6325,9 +6325,6 @@ void NewTxn::ResetMetaCacheAndCacheInfo() {
63256325
}
63266326

63276327
void NewTxn::SaveMetaCacheAndCacheInfo() {
6328-
if (meta_cache_items_.empty() && cache_infos_.empty()) {
6329-
return;
6330-
}
63316328
MetaCache *meta_cache_ptr = txn_mgr_->storage()->meta_cache();
63326329
meta_cache_ptr->Put(meta_cache_items_, cache_infos_, this->BeginTS());
63336330
}

0 commit comments

Comments
 (0)