From b7e4a392f3fded6d025c8aba8ac8393538d7dff9 Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Tue, 10 Feb 2009 19:15:17 +0000 Subject: Commented out changes made in revision 1098. Deleting of derived index entries needs more thought. --- .../java/com/amazon/carbonado/repo/indexed/DerivedIndexesTrigger.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/com/amazon') 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 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 oldIndexEntries = (List) state; int size = oldIndexEntries.size(); @@ -95,6 +97,7 @@ class DerivedIndexesTrigger extends Trig oldIndexEntries.get(i).delete(); } } + */ } @Override -- cgit v1.2.3