directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1353518 - /directory/apacheds/trunk/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/AbstractBTreePartition.java
Date Mon, 25 Jun 2012 13:11:02 GMT
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
);
             }
 
             /*



Mime
View raw message