Merge pull request #21112 from kamipo/fix_mysql2_version

Should use `server_info[:version]` instead of `info[:version]`
This commit is contained in:
Rafael Mendonça França 2015-08-04 20:29:21 -03:00
parent 9ea6df05f9
commit 039cba7c51
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ module ActiveRecord
end
def full_version
@full_version ||= @connection.info[:version]
@full_version ||= @connection.server_info[:version]
end
def set_field_encoding field_name