Delegate type_cast to injected type object in mysql
Merge pull request #15198 from sgrif/sg-delegate-type-cast-mysql

Delegate type_cast to injected type object in mysql
Use general types for mysql fields