提交 a3a0c45a 编写于 作者: T Takayuki Nakata

Fix comments to update mysql version in reference URL [ci skip]

Mysql versions 5.5.8 and up are supported in rails6 and MySQL 5.5 is
already EOL since December 31, 2018.
上级 78ced171
......@@ -15,7 +15,7 @@ def visit_Arel_Nodes_UnqualifiedColumn(o, collector)
###
# :'(
# https://dev.mysql.com/doc/refman/5.0/en/select.html#id3482214
# https://dev.mysql.com/doc/refman/8.0/en/select.html#id3482214
def visit_Arel_Nodes_SelectStatement(o, collector)
if o.offset && !o.limit
o.limit = Arel::Nodes::Limit.new(18446744073709551615)
......
......@@ -15,7 +15,7 @@ def compile(node)
###
# :'(
# https://dev.mysql.com/doc/refman/5.0/en/select.html#id3482214
# https://dev.mysql.com/doc/refman/8.0/en/select.html#id3482214
it "defaults limit to 18446744073709551615" do
stmt = Nodes::SelectStatement.new
stmt.offset = Nodes::Offset.new(1)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册