Closed
Description
Current Behavior
If you nest InTx()
, the inner tx does nothing. It also breaks the outer tx
db.InTx(func(outer database.Store) error {
return outer.InTx(func(inner database.Store) error {
// inner.* will not actually do anything
return nil
})
})
Expected behavior
If you nest InTx()
, the inner Tx should just extend/reuse the outer TX.