fix code typo in `MysqlAdapter` .Closes #12647.

Conflicts:
	activerecord/CHANGELOG.md