clean up comment (#2760)

* *: clean up comment
ActivePendingTxn is an interface of context, not Session

* *: Update comment
This commit is contained in:
Shen Li
2017-03-01 11:28:02 +08:00
committed by Lynn
parent 44a205fe0a
commit 0c8f3d04ac

View File

@ -948,7 +948,7 @@ func (s *session) prepareTxnCtx() {
}
}
// ActivePendingTxn implements Session.ActivePendingTxn interface.
// ActivePendingTxn implements Context.ActivePendingTxn interface.
func (s *session) ActivePendingTxn() error {
if s.txn != nil && s.txn.Valid() {
return nil