activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r982955 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
Date Fri, 06 Aug 2010 13:35:46 GMT
Author: gtully
Date: Fri Aug  6 13:35:45 2010
New Revision: 982955

URL: http://svn.apache.org/viewvc?rev=982955&view=rev
Log:
fix failure of org.apache.activemq.store.kahadb.KahaDBMessagePriorityTest - getMessageCount
left cursor at end of data, reset needed at the end

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java?rev=982955&r1=982954&r2=982955&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBStore.java
Fri Aug  6 13:35:45 2010
@@ -747,6 +747,7 @@ public class KahaDBStore extends Message
                                     counter++;
                                 }
                             }
+                            sd.orderIndex.resetCursorPosition();
                         } catch (Exception e) {
                             throw IOExceptionSupport.create(e);
                         }



Mime
View raw message