mirror of https://gitee.com/bigwinds/arangodb
fix bug in Transaction state
This commit is contained in:
parent
36fb83efae
commit
9619e77e1c
|
@ -165,7 +165,7 @@ Result TransactionState::useCollections(int nestingLevel) {
|
||||||
// process collections in forward order
|
// process collections in forward order
|
||||||
for (auto& trxCollection : _collections) {
|
for (auto& trxCollection : _collections) {
|
||||||
res = trxCollection->use(nestingLevel);
|
res = trxCollection->use(nestingLevel);
|
||||||
if (res.ok()) {
|
if (!res.ok()) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue