svn commit: r929815 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r929815 - /ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java

doogie-3
Author: doogie
Date: Thu Apr  1 04:32:40 2010
New Revision: 929815

URL: http://svn.apache.org/viewvc?rev=929815&view=rev
Log:
When removing a key, and calling fileTable.remove, be certain to call
jdbmMgr.commit.

Modified:
    ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java

Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java?rev=929815&r1=929814&r2=929815&view=diff
==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/util/cache/CacheLineTable.java Thu Apr  1 04:32:40 2010
@@ -179,6 +179,7 @@ public class CacheLineTable<K, V> implem
         if (fileTable != null) {
             try {
                 fileTable.remove(key != null ? key : ObjectType.NULL);
+                jdbmMgr.commit();
             } catch (IOException e) {
                 Debug.logError(e, module);
             }