summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2009-02-10 19:15:17 +0000
committerBrian S. O'Neill <bronee@gmail.com>2009-02-10 19:15:17 +0000
commitb7e4a392f3fded6d025c8aba8ac8393538d7dff9 (patch)
tree9a9b571038fdc0bd10447d4a79e2c3dd23b168c9 /src
parent7b9a86384107ac127b0007fd767131633f8ce786 (diff)
Commented out changes made in revision 1098. Deleting of derived index entries needs more thought.
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/amazon/carbonado/repo/indexed/DerivedIndexesTrigger.java3
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