Fixed support for PointType with Mysql.

@docteurklein Can you check if this is not a security issue for PGSQL?