method

execute_and_free

rails latest stable - Class: ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter
execute_and_free(sql, name = nil, async: false)
public

Mysql2Adapter doesn’t have to free a result after using it, but we use this method to write stuff in an abstract way without concerning ourselves about whether it needs to be explicitly freed or not.