added patch to mysql handler from Daniel.Bonniot@inria.fr