Updated for new versions of Hercules.

Updated mmysql_handle for map->mysql_handle.