aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2016-02-21 22:02:06 -0300
committerSantiago Pastorino <santiago@wyeworks.com>2016-02-21 22:02:06 -0300
commitfa344194a8063bda06678868e0c2327b418c75cf (patch)
tree53f1c43051f06b2dfa27ab944c69eaa424f8e20a /activerecord/lib
parente7bf9f9ab0fc39d91e68a11efc89d8485e36df43 (diff)
parent54accc0a6fbc345844879fa8792aa7827d2d3531 (diff)
downloadrails-fa344194a8063bda06678868e0c2327b418c75cf.tar.gz
rails-fa344194a8063bda06678868e0c2327b418c75cf.tar.bz2
rails-fa344194a8063bda06678868e0c2327b418c75cf.zip
Merge pull request #23769 from kamipo/remove_alias_exec_without_stmt_exec_query
Remove `alias exec_without_stmt exec_query`
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb
index 23b33a3555..57d8867bb4 100644
--- a/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb
@@ -134,8 +134,6 @@ module ActiveRecord
ActiveRecord::Result.new(result.fields, result.to_a)
end
- alias exec_without_stmt exec_query
-
def exec_insert(sql, name, binds, pk = nil, sequence_name = nil)
execute to_sql(sql, binds), name
end