Replies: 1 comment
-
It was an oversight. The other methods have a guard clause: if tx.closed {
return nil, ErrTxClosed
} But apparently I missed it for Exec. Fixed in 3ad9995. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see that if call transaction rollback and after it use same tx object for execute requests, instead of get error
from execute operation, they will be executed without errors, and they will not need a commit, same as if use connection object without transaction.
Also I see that if call transaction commit and after it use same tx object for execute requests, instead of get error
from execute operation, they will be executed without errors in same way as were used connection object without transaction.
Why is it so? ?
Beta Was this translation helpful? Give feedback.
All reactions