jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r628294 - /jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
Date Sat, 16 Feb 2008 13:34:31 GMT
Author: jukka
Date: Sat Feb 16 05:34:30 2008
New Revision: 628294

URL: http://svn.apache.org/viewvc?rev=628294&view=rev
Log:
1.4: Merged revision 628291 (JCR-1322)

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

Modified: jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java?rev=628294&r1=628293&r2=628294&view=diff
==============================================================================
--- jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
(original)
+++ jackrabbit/branches/1.4/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/journal/DatabaseJournal.java
Sat Feb 16 05:34:30 2008
@@ -673,11 +673,11 @@
                 "from " + schemaObjectPrefix + "JOURNAL " +
                 "where REVISION_ID > ?";
         updateGlobalStmtSQL =
-                "update " + schemaObjectPrefix + "GLOBAL_REVISION " +
-                "set revision_id = revision_id + 1";
+            "update " + schemaObjectPrefix + "GLOBAL_REVISION"
+            + " set REVISION_ID = REVISION_ID + 1";
         selectGlobalStmtSQL =
-                "select revision_id " +
-                "from " + schemaObjectPrefix + "GLOBAL_REVISION";
+            "select REVISION_ID from "
+            + schemaObjectPrefix + "GLOBAL_REVISION";
         insertRevisionStmtSQL =
                 "insert into " + schemaObjectPrefix + "JOURNAL" +
                 "(REVISION_ID, JOURNAL_ID, PRODUCER_ID, REVISION_DATA) " +



Mime
View raw message