summaryrefslogtreecommitdiff
path: root/src/main/java/com/amazon/carbonado/info
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2008-05-09 03:36:30 +0000
committerBrian S. O'Neill <bronee@gmail.com>2008-05-09 03:36:30 +0000
commit3fad738c13c12f0be3cf4e453b559427e7f420d9 (patch)
tree6ac2f4befe3a1bfc2228e28ab9071e0732a11b0d /src/main/java/com/amazon/carbonado/info
parent57023295c1af81b4e4fd3dfd2d5969263179f54c (diff)
Clustered index selection fixes.
Diffstat (limited to 'src/main/java/com/amazon/carbonado/info')
-rw-r--r--src/main/java/com/amazon/carbonado/info/StorableIndex.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/amazon/carbonado/info/StorableIndex.java b/src/main/java/com/amazon/carbonado/info/StorableIndex.java
index 9806c61..387e9cf 100644
--- a/src/main/java/com/amazon/carbonado/info/StorableIndex.java
+++ b/src/main/java/com/amazon/carbonado/info/StorableIndex.java
@@ -603,6 +603,7 @@ public class StorableIndex<S extends Storable> implements Appender {
if (obj instanceof StorableIndex) {
StorableIndex<?> other = (StorableIndex<?>) obj;
return isUnique() == other.isUnique()
+ && isClustered() == other.isClustered()
&& Arrays.equals(mProperties, other.mProperties)
&& Arrays.equals(mDirections, other.mDirections);
}