More edge case handlignfor native_type in mysql for older versions of
php