MySQL version refactoring
MariaDB does not support RENAME INDEX