@nxtedition/rocksdb 15.2.1 → 15.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binding.cc +6 -6
- package/package.json +1 -1
package/binding.cc
CHANGED
|
@@ -591,13 +591,13 @@ class Iterator final : public BaseIterator {
|
|
|
591
591
|
|
|
592
592
|
bytesRead += CurrentKey().size() + CurrentValue().size();
|
|
593
593
|
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
594
|
+
if (keyFilter_ && !re2::RE2::PartialMatch(CurrentKey().ToStringView(), *keyFilter_)) {
|
|
595
|
+
continue;
|
|
596
|
+
}
|
|
597
597
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
598
|
+
if (valueFilter_ && !re2::RE2::PartialMatch(CurrentValue().ToStringView(), *valueFilter_)) {
|
|
599
|
+
continue;
|
|
600
|
+
}
|
|
601
601
|
|
|
602
602
|
if (keys_ && values_) {
|
|
603
603
|
rocksdb::PinnableSlice k;
|