fix for mysql >= 8
Created by: zebastian
this patch creates compatibility with mysql client version 8, which removed the my_bool definition the polyfill checks for the version and leaves out the definition for previous versions, see also in code comments