directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gokt...@apache.org
Subject svn commit: r1377549 - /directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/partition/DefaultOperationExecutionManager.java
Date Mon, 27 Aug 2012 02:03:42 GMT
Author: gokturk
Date: Mon Aug 27 02:03:42 2012
New Revision: 1377549

URL: http://svn.apache.org/viewvc?rev=1377549&view=rev
Log:
* Fixed wrong boolean (isSystemIndex) parameters on IndexChange creation.

Modified:
    directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/partition/DefaultOperationExecutionManager.java

Modified: directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/partition/DefaultOperationExecutionManager.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/partition/DefaultOperationExecutionManager.java?rev=1377549&r1=1377548&r2=1377549&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/partition/DefaultOperationExecutionManager.java
(original)
+++ directory/apacheds/branches/apacheds-txns/core-shared/src/main/java/org/apache/directory/server/core/shared/partition/DefaultOperationExecutionManager.java
Mon Aug 27 02:03:42 2012
@@ -2140,7 +2140,7 @@ public class DefaultOperationExecutionMa
 
                 if ( !( ( Index<Object> ) index ).forward( newNormValue, id ) )
                 {
-                    indexChange = new IndexChange( index, newNormValue, id, IndexChange.Type.ADD,
true );
+                    indexChange = new IndexChange( index, newNormValue, id, IndexChange.Type.ADD,
false );
                     changeContainer.addChange( indexChange );
                 }
 
@@ -2151,7 +2151,7 @@ public class DefaultOperationExecutionMa
                 {
                     Index<?> presenceIdx;
                     presenceIdx = partition.getSystemIndex( ApacheSchemaConstants.APACHE_PRESENCE_AT_OID
);
-                    indexChange = new IndexChange( presenceIdx, newNormType, id, IndexChange.Type.ADD,
false );
+                    indexChange = new IndexChange( presenceIdx, newNormType, id, IndexChange.Type.ADD,
true );
                     changeContainer.addChange( indexChange );
                 }
             }



Mime
View raw message