= private = protected
version()
Returns the version of the connected MySQL server.
# File activerecord/lib/active_record/connection_adapters/mysql_adapter.rb, line 555 def version @version ||= @connection.server_info.scan(/^(\d+)\.(\d+)\.(\d+)/).flatten.map { |v| v.to_i } end