Skip to content

Commit

Permalink
Fixed small issue with commit logic
Browse files Browse the repository at this point in the history
  • Loading branch information
kkmishra committed Jan 23, 2013
1 parent ebc7e32 commit e0f13da
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Expand Up @@ -73,6 +73,9 @@ public void onBegin()
public void onCommit()
{
onFlush();
nodes.clear();
nodes=null;
nodes = new ArrayList<Node>();
isActive = false;
}

Expand All @@ -85,6 +88,8 @@ public void onFlush()
{
node.flush();
}


}

/*
Expand Down
Expand Up @@ -793,8 +793,9 @@ public void begin()

public void commit()
{
doFlush();
execute();
flushManager.commit();
flushManager.clearFlushStack();
isTransactionInProgress = false;
}

Expand Down

0 comments on commit e0f13da

Please sign in to comment.