diff options
Diffstat (limited to 'lib/arel/visitors/sqlite.rb')
-rw-r--r-- | lib/arel/visitors/sqlite.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/sqlite.rb b/lib/arel/visitors/sqlite.rb index 2a509e95b5..07a18fc2f5 100644 --- a/lib/arel/visitors/sqlite.rb +++ b/lib/arel/visitors/sqlite.rb @@ -4,10 +4,10 @@ module Arel private # Locks are not supported in SQLite - def visit_Arel_Nodes_Lock o + def visit_Arel_Nodes_Lock o, a end - def visit_Arel_Nodes_SelectStatement o + def visit_Arel_Nodes_SelectStatement o, a o.limit = Arel::Nodes::Limit.new(-1) if o.offset && !o.limit super end |