It needs to be fixed to allow 6+. Silly array version number. It should be
>=5.7; I'll update the changelog in my next commit as well.

On Thursday, November 28, 2013, Godfrey Chan wrote:

> In
> activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb:
>
> > @@ -487,6 +487,14 @@ def rename_table(table_name, new_name)
> >          rename_table_indexes(table_name, new_name)
> >        end
> >
> > +      def rename_index(table_name, old_name, new_name)
> > +        if version[0] >= 5 && version[1] >= 7
>
> Also, along the same lines, the commit message says "> 5.7", but this
> logic here is ">= 5.7" (&& < 6)
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rails/rails/pull/13038/files#r7993765>
> .
>