mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 19:25:52 +08:00
Remove unnecessary parameter from checkUnreadability
This commit is contained in:
parent
efb8d6f4ee
commit
09b3b7a325
@ -126,9 +126,10 @@ struct UnreadableWorkload : TestWorkload {
|
||||
key.setKey(it->first);
|
||||
}
|
||||
|
||||
static void checkUnreadablity(Arena arena, std::map<KeyRef, ValueRef> const& setMap, KeyRangeMap<bool> & unreadableMap,
|
||||
KeySelectorRef const& _begin, KeySelectorRef const& _end, bool isUnreadable, int limit, bool reverse) {
|
||||
|
||||
static void checkUnreadability(std::map<KeyRef, ValueRef> const& setMap, KeyRangeMap<bool>& unreadableMap,
|
||||
KeySelectorRef const& _begin, KeySelectorRef const& _end, bool isUnreadable,
|
||||
int limit, bool reverse) {
|
||||
|
||||
/*
|
||||
for (auto it : setMap) {
|
||||
TraceEvent("RYWT_SetMapContents").detail("Key", printable(it.first));
|
||||
@ -412,7 +413,7 @@ struct UnreadableWorkload : TestWorkload {
|
||||
ASSERT(!isUnreadable);
|
||||
}
|
||||
else {
|
||||
checkUnreadablity(arena, setMap, unreadableMap, begin, end, isUnreadable, limit, reverse);
|
||||
checkUnreadability(setMap, unreadableMap, begin, end, isUnreadable, limit, reverse);
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user