diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2015-07-10 13:49:57 -0400 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2015-07-10 13:49:57 -0400 |
commit | fd1df48c5c062affe9acc6decf554397e8be20a1 (patch) | |
tree | 6e34835048ca701b47432b9b87f434c5ae81ccc8 | |
parent | 4767bb11c280f97262d221c47af8d39ab4fd583f (diff) | |
download | rails-fd1df48c5c062affe9acc6decf554397e8be20a1.tar.gz rails-fd1df48c5c062affe9acc6decf554397e8be20a1.tar.bz2 rails-fd1df48c5c062affe9acc6decf554397e8be20a1.zip |
No need to quote MySQL LIMIT
-rw-r--r-- | lib/arel/visitors/mysql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/mysql.rb b/lib/arel/visitors/mysql.rb index f989b8ddef..724e0fc43e 100644 --- a/lib/arel/visitors/mysql.rb +++ b/lib/arel/visitors/mysql.rb @@ -40,7 +40,7 @@ module Arel # http://dev.mysql.com/doc/refman/5.0/en/select.html#id3482214 def visit_Arel_Nodes_SelectStatement o, collector if o.offset && !o.limit - o.limit = Arel::Nodes::Limit.new(Nodes.build_quoted(18446744073709551615)) + o.limit = Arel::Nodes::Limit.new(18446744073709551615) end super end |