Browse files

update mysql for new exec_insert signature

  • Loading branch information...
1 parent f09bb33 commit 3475051f7ff8d29eb779618c8f06e725b3889698 @dougcole dougcole committed Mar 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb
View
2 activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb
@@ -226,7 +226,7 @@ def insert_sql(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil)
end
alias :create :insert_sql
- def exec_insert(sql, name, binds)
+ def exec_insert(sql, name, binds, pk = nil, sequence_name = nil)
execute to_sql(sql, binds), name
end

0 comments on commit 3475051

Please sign in to comment.