From d1c9c46c96c016b6561018d8017261feea3912a7 Mon Sep 17 00:00:00 2001 From: babinho Date: Fri, 17 Feb 2012 09:47:31 +0100 Subject: Oracle limit and offset issue when query is ordered, issue #99 solved. --- test/visitors/test_oracle.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/visitors/test_oracle.rb') 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 -- cgit v1.2.3