Fix version detection for RENAME INDEX support. Fixes #15931.
Predicate methods don't need to return `true` / `false`
Merge branch 'jbrowning-fix_mariadb_rename_index'

Closes #15936