set nbUsers to zero in the clone
authorKiran Ayyagari <kayyagari@apache.org>
Wed, 9 Jul 2014 14:47:27 +0000 (14:47 +0000)
committerKiran Ayyagari <kayyagari@apache.org>
Wed, 9 Jul 2014 14:47:27 +0000 (14:47 +0000)
mavibot/src/main/java/org/apache/directory/mavibot/btree/BTreeHeader.java

index 2202551..565d883 100644 (file)
@@ -124,6 +124,7 @@ import java.util.concurrent.atomic.AtomicInteger;
         copy.rootPage = null;
         copy.rootPageOffset = -1L;
         copy.btreeHeaderOffset = -1L;
+        copy.nbUsers.set( 0 );
 
         return copy;
     }