mirror of https://github.com/rails/rails
Merge pull request #21112 from kamipo/fix_mysql2_version
Should use `server_info[:version]` instead of `info[:version]`
This commit is contained in:
parent
9ea6df05f9
commit
039cba7c51
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue