Permalink
Browse files

Fixed small issue with commit logic

  • Loading branch information...
1 parent ebc7e32 commit e0f13daa1612d8b6637f7dfe62e4833861bae56e @kkmishra kkmishra committed Jan 23, 2013
@@ -73,6 +73,9 @@ public void onBegin()
public void onCommit()
{
onFlush();
+ nodes.clear();
+ nodes=null;
+ nodes = new ArrayList<Node>();
isActive = false;
}
@@ -85,6 +88,8 @@ public void onFlush()
{
node.flush();
}
+
+
}
/*
@@ -793,8 +793,9 @@ public void begin()
public void commit()
{
- doFlush();
execute();
+ flushManager.commit();
+ flushManager.clearFlushStack();
isTransactionInProgress = false;
}

0 comments on commit e0f13da

Please sign in to comment.