Skip to content

Commit

Permalink
fix: make sure to skip null key on index rebuild if are ignored by th…
Browse files Browse the repository at this point in the history
…e index type, issue #10367
  • Loading branch information
tglman committed Jan 28, 2025
1 parent e9830ed commit 579ba2c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,10 @@ protected void doDelete() {
}

try {
try (Stream<ORID> stream = getRids(null)) {
stream.forEach((rid) -> remove(null, rid));
if (!this.getDefinition().isNullValuesIgnored()) {
try (Stream<ORID> stream = getRids(null)) {
stream.forEach((rid) -> remove(null, rid));
}
}
} catch (OIndexEngineException e) {
throw e;
Expand Down

0 comments on commit 579ba2c

Please sign in to comment.