diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2016-02-15 06:12:59 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-03-02 09:32:58 +0900 |
commit | 41123533edcaec8f0810cd6bc75c7f000a420e3f (patch) | |
tree | bce60660e517ca97b1bde94e6b466d8a4cd24046 /activerecord/lib | |
parent | 7fa15fe694561b862773456edc11964556fb913b (diff) | |
download | rails-41123533edcaec8f0810cd6bc75c7f000a420e3f.tar.gz rails-41123533edcaec8f0810cd6bc75c7f000a420e3f.tar.bz2 rails-41123533edcaec8f0810cd6bc75c7f000a420e3f.zip |
Remove not needed `exec_insert` in mysql2 adapter
Simply it is sufficient to use the method in the super class.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb index ed8cfae657..df0f3dc77f 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb @@ -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 |