disable Emulate Prepares where mysql version is >= 5.1.17 - returns correct field types instead of strings for every value