Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
flowbehappy committed Oct 30, 2019
1 parent b6f46d4 commit 94167b4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions dbms/src/Storages/Page/PageStorage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,6 @@ void PageStorage::write(const WriteBatch & wb)
std::lock_guard<std::mutex> lock(write_mutex);
getWriter().write(wb, edit);

for(auto & w : wb.getWrites())
{
if(w.page_id == 25)
{
std::cout << "" ;
}
}

// Apply changes into versioned_page_entries(generate a new version)
// If there are RefPages to non-exist Pages, just put the ref pair to new version
// instead of throwing exception. Or we can't open PageStorage since we have already
Expand Down

0 comments on commit 94167b4

Please sign in to comment.