This way, we clear caching, reset transactions, and set @raw_connection_dirty to nil whenever #disconnect! is called.
All of the other adapters in Rails call super, so I'm assuming this was an oversight, but please correct me if there's a reason we're not doing this currently.
Let me know if you'd prefer explicit tests for this, or if we're happy to rely on the upstream tests for this.
This way, we clear caching, reset transactions, and set
@raw_connection_dirty
to nil whenever#disconnect!
is called. All of the other adapters in Rails callsuper
, so I'm assuming this was an oversight, but please correct me if there's a reason we're not doing this currently.Let me know if you'd prefer explicit tests for this, or if we're happy to rely on the upstream tests for this.