diff --git a/db/db_impl/spdb_db_gs_del_list.cc b/db/db_impl/spdb_db_gs_del_list.cc index 08419bb53..da4a63fd5 100644 --- a/db/db_impl/spdb_db_gs_del_list.cc +++ b/db/db_impl/spdb_db_gs_del_list.cc @@ -44,13 +44,6 @@ void GlobalDelList::InsertBefore(Iterator& pos, const DelElement& del_elem) { void GlobalDelList::InsertBeforeAndSetIterOnInserted( Iterator& pos, const DelElement& del_elem) { pos.del_list_iter_ = del_list_.insert(pos.del_list_iter_, del_elem); - auto valid = true; - if (!Valid()) { - // printf("INVALID: del_elem=|%s|, upper_bound=|%s|\n", - // del_elem.ToString().c_str(), upper_bound_.ToString().c_str()); - valid = Valid(); - } - assert(valid); assert(Valid()); } diff --git a/db/db_test.cc b/db/db_test.cc index a14550bf7..20d890a90 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -91,8 +91,8 @@ #include "util/string_util.h" #include "utilities/merge_operators.h" -#define RUN_DEL_LIST_TESTS 0 -#define RUN_GS_TESTS 0 +#define RUN_DEL_LIST_TESTS 1 +#define RUN_GS_TESTS 1 #define RUN_GS_STRESS 1 extern bool gs_debug_prints;