fix commit-transaction
This commit is contained in:
parent
8c5b4602cb
commit
244453c1dc
|
@ -1104,7 +1104,7 @@
|
||||||
(define (commit-transaction txn-id . args)
|
(define (commit-transaction txn-id . args)
|
||||||
(let-optionals args
|
(let-optionals args
|
||||||
((flags (or (current-flags) '())))
|
((flags (or (current-flags) '())))
|
||||||
(let ((result (bdb-txn-commit-int txn-id (flags->value))))
|
(let ((result (bdb-txn-commit-int txn-id (flags->value flags))))
|
||||||
(if (integer? result)
|
(if (integer? result)
|
||||||
(raise-bdb-condition result)
|
(raise-bdb-condition result)
|
||||||
(values)))))
|
(values)))))
|
||||||
|
|
Loading…
Reference in New Issue