diff options
author | Doug Cole <doug@estately.com> | 2012-03-31 18:13:40 -0700 |
---|---|---|
committer | Doug Cole <doug@estately.com> | 2012-03-31 18:13:40 -0700 |
commit | 3475051f7ff8d29eb779618c8f06e725b3889698 (patch) | |
tree | 2557c9cafc1ea4616bee5e38a07e3935e08ccd86 /activerecord/lib | |
parent | f09bb33bb534fe2e729e292c8ac6b0e2ffdcea2a (diff) | |
download | rails-3475051f7ff8d29eb779618c8f06e725b3889698.tar.gz rails-3475051f7ff8d29eb779618c8f06e725b3889698.tar.bz2 rails-3475051f7ff8d29eb779618c8f06e725b3889698.zip |
update mysql for new exec_insert signature
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb b/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb index 3f45f23de8..92908d9599 100644 --- a/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb @@ -226,7 +226,7 @@ module ActiveRecord 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 |