You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2012/06/25 15:11:02 UTC
svn commit: r1353518 -
/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
Author: elecharny
Date: Mon Jun 25 13:11:01 2012
New Revision: 1353518
URL: http://svn.apache.org/viewvc?rev=1353518&view=rev
Log:
Stores the normalized value into index, otherwise the Substring evaluator is failing on indexed String attributes (uppercase/lowercase mismatch).
Modified:
directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
Modified: directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java?rev=1353518&r1=1353517&r2=1353518&view=diff
==============================================================================
--- directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java (original)
+++ directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java Mon Jun 25 13:11:01 2012
@@ -1227,7 +1227,7 @@ public abstract class AbstractBTreeParti
for ( Value<?> value : mods )
{
- ( ( Index ) index ).add( value.getValue(), id );
+ ( ( Index ) index ).add( value.getNormValue(), id );
}
// If the attr didn't exist for this id add it to presence index
@@ -1303,7 +1303,7 @@ public abstract class AbstractBTreeParti
for ( Value<?> value : mods )
{
- ( ( Index<Object, Entry, ID> ) index ).add( value.getValue(), id );
+ ( ( Index<Object, Entry, ID> ) index ).add( value.getNormValue(), id );
}
/*