diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-11-01 20:28:48 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-11-01 20:28:48 +0000 |
commit | 70840d4b7fcd16c45b7be69c51b0bd1d27c7cbff (patch) | |
tree | b56f01e4586c05e69d1575a986ae59cfa640460e /activerecord/lib/active_record/connection_adapters/db2_adapter.rb | |
parent | c1c96d55d754e6de1572e35bc9bc68cc896655bf (diff) | |
download | rails-70840d4b7fcd16c45b7be69c51b0bd1d27c7cbff.tar.gz rails-70840d4b7fcd16c45b7be69c51b0bd1d27c7cbff.tar.bz2 rails-70840d4b7fcd16c45b7be69c51b0bd1d27c7cbff.zip |
Oracle: resolve test failures, use prefetched primary key for inserts, check for null defaults. Factor out some common methods from all adapters. Closes #6515.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/db2_adapter.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/db2_adapter.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/db2_adapter.rb b/activerecord/lib/active_record/connection_adapters/db2_adapter.rb index 3ff6bdfb98..7a3cd22789 100644 --- a/activerecord/lib/active_record/connection_adapters/db2_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/db2_adapter.rb @@ -47,14 +47,6 @@ begin end end end - - def select_all(sql, name = nil) - select(sql, name) - end - - def select_one(sql, name = nil) - select(sql, name).first - end def insert(sql, name = nil, pk = nil, id_value = nil, sequence_name = nil) execute(sql, name = nil) @@ -72,9 +64,6 @@ begin rows_affected end - alias_method :update, :execute - alias_method :delete, :execute - def begin_db_transaction @connection.set_auto_commit_off end |