aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2015-07-10 13:49:57 -0400
committerJean Boussier <jean.boussier@gmail.com>2015-07-10 13:49:57 -0400
commitfd1df48c5c062affe9acc6decf554397e8be20a1 (patch)
tree6e34835048ca701b47432b9b87f434c5ae81ccc8 /lib
parent4767bb11c280f97262d221c47af8d39ab4fd583f (diff)
downloadrails-fd1df48c5c062affe9acc6decf554397e8be20a1.tar.gz
rails-fd1df48c5c062affe9acc6decf554397e8be20a1.tar.bz2
rails-fd1df48c5c062affe9acc6decf554397e8be20a1.zip
No need to quote MySQL LIMIT
Diffstat (limited to 'lib')
-rw-r--r--lib/arel/visitors/mysql.rb2
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