From b4a9bf75b0cc0d22e123f2dd60441ece09d6d48e Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Wed, 1 Nov 2006 23:56:09 +0000 Subject: Use internal join property correctly (undos and fixes change from 180) --- src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/amazon/carbonado') diff --git a/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java b/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java index ac9952f..6e87c7a 100644 --- a/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java +++ b/src/main/java/com/amazon/carbonado/qe/IndexedQueryAnalyzer.java @@ -247,10 +247,10 @@ public class IndexedQueryAnalyzer { // Make up a filter over the join's internal properties and then search // for an index that filters with no remainder. - Filter filter = Filter.getOpenFilter((Class) property.getType()); + Filter filter = Filter.getOpenFilter(property.getEnclosingType()); int count = property.getJoinElementCount(); for (int i=0; i