aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_oracle.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-02-17 10:12:13 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-02-17 10:12:13 -0800
commitcbdc7e72ba48672f6c43627de1d081e61c6c10b0 (patch)
treec6dddba78f9fd5d5eb32b7fdfc3476c3c080e3f9 /test/visitors/test_oracle.rb
parenteebf5d77aad712fad27a3adf70cd0ab2e8246668 (diff)
parentd1c9c46c96c016b6561018d8017261feea3912a7 (diff)
downloadrails-cbdc7e72ba48672f6c43627de1d081e61c6c10b0.tar.gz
rails-cbdc7e72ba48672f6c43627de1d081e61c6c10b0.tar.bz2
rails-cbdc7e72ba48672f6c43627de1d081e61c6c10b0.zip
Merge pull request #100 from babinho/master
Fixing oracle issue with limit and offset if query is ordered
Diffstat (limited to 'test/visitors/test_oracle.rb')
-rw-r--r--test/visitors/test_oracle.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/visitors/test_oracle.rb b/test/visitors/test_oracle.rb
index 9a5fa304ab..af81f2058b 100644
--- a/test/visitors/test_oracle.rb
+++ b/test/visitors/test_oracle.rb
@@ -102,9 +102,8 @@ module Arel
SELECT * FROM (
SELECT raw_sql_.*, rownum raw_rnum_
FROM (SELECT) raw_sql_
- WHERE rownum <= 20
)
- WHERE raw_rnum_ > 10
+ WHERE raw_rnum_ between 11 and 20
}
end