Remove our use of #outside_transaction?
This method was first seen in 045713ee, and subsequently reimplemented in fb2325e3. According to @jeremy, this is okay to remove. He thinks it was added because at the time we didn't have much transaction state to keep track of, and he viewed it as a hack for us to track it internally, thinking it was better to ask the connection for the transaction state. Over the years we have added more and more state to track, a lot of which is impossible to ask the connection for. So it seems that this is just a relic of the passed and we will just track the state internally only.
Showing
想要评论请 注册 或 登录