jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1554744 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/db/DbDataStore.java
Date Thu, 02 Jan 2014 06:32:22 GMT
Author: ckoell
Date: Thu Jan  2 06:32:22 2014
New Revision: 1554744

URL: http://svn.apache.org/r1554744
Log:
JCR-3709 DBDataStore updates 2 times the lastModified Date on touch when GC is running

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/db/DbDataStore.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/db/DbDataStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/db/DbDataStore.java?rev=1554744&r1=1554743&r2=1554744&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/db/DbDataStore.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/data/db/DbDataStore.java
Thu Jan  2 06:32:22 2014
@@ -553,7 +553,7 @@ public class DbDataStore extends Abstrac
             long lastModified = rs.getLong(2);
             DbUtility.close(rs);
             rs = null;
-            touch(identifier, lastModified);
+            lastModified = touch(identifier, lastModified);
             return new DbDataRecord(this, identifier, length, lastModified);
         } catch (Exception e) {
             throw convert("Can not read identifier " + identifier, e);



Mime
View raw message