diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/repo/indexed')
-rw-r--r-- | src/main/java/com/amazon/carbonado/repo/indexed/DerivedIndexesTrigger.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/repo/indexed/DerivedIndexesTrigger.java b/src/main/java/com/amazon/carbonado/repo/indexed/DerivedIndexesTrigger.java index 9176e92..23e2837 100644 --- a/src/main/java/com/amazon/carbonado/repo/indexed/DerivedIndexesTrigger.java +++ b/src/main/java/com/amazon/carbonado/repo/indexed/DerivedIndexesTrigger.java @@ -88,6 +88,8 @@ class DerivedIndexesTrigger<S extends Storable, D extends Storable> extends Trig @Override
public void afterDelete(S storable, Object state) throws PersistException {
+ updateValues(storable, state);
+ /* FIXME: Deleting of derived index entries needs more thought.
if (state != null) {
List<Storable> oldIndexEntries = (List<Storable>) state;
int size = oldIndexEntries.size();
@@ -95,6 +97,7 @@ class DerivedIndexesTrigger<S extends Storable, D extends Storable> extends Trig oldIndexEntries.get(i).delete();
}
}
+ */
}
@Override
|