Use the generic type map object for mysql field lookups
Merge pull request #15200 from sgrif/sg-type-map-mysql

Use the generic type map object for mysql field lookups