Further conditional compilation

This commit is contained in:
Thomas Krijnen
2025-08-26 14:05:34 +02:00
parent 4e71ae7d85
commit 9109fcec12
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -79,8 +79,10 @@ public:
// Validates the current iterator state.
void check_valid() {
#ifdef WITH_ROCKSDB
if (!it_ || !it_->Valid() || !it_->key().starts_with(prefix_))
it_.reset();
#endif
}
public: