jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marti...@apache.org
Subject svn commit: r672125 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
Date Fri, 27 Jun 2008 06:39:04 GMT
Author: martijnh
Date: Thu Jun 26 23:39:03 2008
New Revision: 672125

URL: http://svn.apache.org/viewvc?rev=672125&view=rev
Log:
JCR-1657: Cluster revision entries should be retrieved in order

Applied proposed patch.

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java?rev=672125&r1=672124&r2=672125&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
Thu Jun 26 23:39:03 2008
@@ -873,7 +873,7 @@
     protected void buildSQLStatements() {
         selectRevisionsStmtSQL =
             "select REVISION_ID, JOURNAL_ID, PRODUCER_ID, REVISION_DATA from "
-            + schemaObjectPrefix + "JOURNAL where REVISION_ID > ?";
+            + schemaObjectPrefix + "JOURNAL where REVISION_ID > ? order by REVISION_ID";
         updateGlobalStmtSQL =
             "update " + schemaObjectPrefix + "GLOBAL_REVISION"
             + " set REVISION_ID = REVISION_ID + 1";



Mime
View raw message