diff options
author | Dylan Thacker-Smith <dylan.smith@shopify.com> | 2016-09-13 14:17:06 -0400 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2016-09-13 14:19:15 -0400 |
commit | 88ff3f820aa88b7235b7554668f91a73532726af (patch) | |
tree | 1bce6d1500d815f164f1dde8f7c4ea68e706af4b /activerecord | |
parent | d4bbac8446be51a49382f04caba2e2c5582289ed (diff) | |
download | rails-88ff3f820aa88b7235b7554668f91a73532726af.tar.gz rails-88ff3f820aa88b7235b7554668f91a73532726af.tar.bz2 rails-88ff3f820aa88b7235b7554668f91a73532726af.zip |
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
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 3eac34d65e..bca719cb2f 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -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. |