5-0-backport: activerecord/mysql2: Avoid setting @connection to nil, just close it (#26473)
* activerecord/mysql2: Avoid setting @connection to nil, just close it Backport of https://github.com/rails/rails/pull/26434 * Add a CHANGELOG entry
This commit is contained in:
parent
d4bbac8446
commit
88ff3f820a
@ -1,3 +1,8 @@
|
||||
* Using a mysql2 connection after it fails to reconnect will now have an error message
|
||||
saying the connection is closed rather than an undefined method error message.
|
||||
|
||||
*Dylan Thacker-Smith*
|
||||
|
||||
* PostgreSQL array columns will now respect the encoding of strings contained
|
||||
in the array.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user