[Fix] Fixed InMemoryTransaction marked committed on flush
This commit is contained in:
parent
b302c3f19e
commit
b68b74aade
|
@ -34,7 +34,7 @@ public class InMemoryTransaction extends AbstractTransaction {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void writeChanges() throws Exception {
|
protected void writeChanges() throws Exception {
|
||||||
getTxResult().setState(TransactionState.COMMITTED);
|
// do nothing
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -44,7 +44,7 @@ public class InMemoryTransaction extends AbstractTransaction {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void commit() throws Exception {
|
protected void commit() throws Exception {
|
||||||
// no-op
|
getTxResult().setState(TransactionState.COMMITTED);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue