diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-20 21:56:50 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-03-20 21:56:50 +0000 |
commit | ee8d110068e958b400987b5f224e14e292fd0558 (patch) | |
tree | a94385c7b5cddb6704d2e6d53aa8097bd5363198 /activerecord/lib/active_record/connection_adapters/oci_adapter.rb | |
parent | 9fe45f31ebeb772fdd1bc850c12cd465463e2ef7 (diff) | |
download | rails-ee8d110068e958b400987b5f224e14e292fd0558.tar.gz rails-ee8d110068e958b400987b5f224e14e292fd0558.tar.bz2 rails-ee8d110068e958b400987b5f224e14e292fd0558.zip |
Added adapter independent limit clause as a two-element array with the first being the limit, the second being the offset #795 [Sam Stephenson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@944 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters/oci_adapter.rb')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/oci_adapter.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/oci_adapter.rb b/activerecord/lib/active_record/connection_adapters/oci_adapter.rb index 54feebcb38..06e2273b28 100644 --- a/activerecord/lib/active_record/connection_adapters/oci_adapter.rb +++ b/activerecord/lib/active_record/connection_adapters/oci_adapter.rb @@ -182,10 +182,6 @@ begin alias :update :execute alias :delete :execute - def add_limit!(sql, limit) - sql << "LIMIT=" << limit.to_s - end - def begin_db_transaction() @connection.autocommit = false end |