isCommitting will check if the tx status is txStatusCommitting
()
| 648 | |
| 649 | // isCommitting will check if the tx status is txStatusCommitting |
| 650 | func (tx *Tx) isCommitting() bool { |
| 651 | status := tx.status.Load().(int) |
| 652 | return status == txStatusCommitting |
| 653 | } |
| 654 | |
| 655 | // isClosed will check if the tx status is txStatusClosed |
| 656 | func (tx *Tx) isClosed() bool { |