Skip to content

Commit

Permalink
Merge [5929] from trunk. References #6976.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-pre-release@5930 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Jan 14, 2007
1 parent 2b6954a commit 2d5bf4b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions activerecord/CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
*SVN*

* MySQL: retain SSL settings on reconnect. #6976 [randyv2]

* SQLServer: handle [quoted] table names. #6635 [rrich]

* acts_as_nested_set works with single-table inheritance. #6030 [Josh Susser]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ def connect
if encoding
@connection.options(Mysql::SET_CHARSET_NAME, encoding) rescue nil
end
@connection.ssl_set(@config[:sslkey], @config[:sslcert], @config[:sslca], @config[:sslcapath], @config[:sslcipher]) if @config[:sslkey]
@connection.real_connect(*@connection_options)
execute("SET NAMES '#{encoding}'") if encoding
end
Expand Down

0 comments on commit 2d5bf4b

Please sign in to comment.