Skip to content

Commit

Permalink
wip - Maybe abandon - bad results
Browse files Browse the repository at this point in the history
  • Loading branch information
udi-speedb committed Mar 6, 2024
1 parent a6ab0e9 commit 78dea55
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions db/db_impl/spdb_db_gs_del_list.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

Expand Down
4 changes: 2 additions & 2 deletions db/db_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 78dea55

Please sign in to comment.