better support for mariadb (including offsets for 5.5.32-36). Added offsets for 5.5.37 and 5.6.17.