mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove not needed exec_insert
in mysql2 adapter
Simply it is sufficient to use the method in the super class.
This commit is contained in:
parent
7fa15fe694
commit
41123533ed
1 changed files with 0 additions and 4 deletions
|
@ -134,10 +134,6 @@ module ActiveRecord
|
|||
ActiveRecord::Result.new(result.fields, result.to_a) if result
|
||||
end
|
||||
|
||||
def exec_insert(sql, name, binds, pk = nil, sequence_name = nil)
|
||||
execute to_sql(sql, binds), name
|
||||
end
|
||||
|
||||
def exec_delete(sql, name, binds)
|
||||
execute to_sql(sql, binds), name
|
||||
@connection.affected_rows
|
||||
|
|
Loading…
Reference in a new issue