Open everiq opened 9 years ago
Is static buffer safe here? What about queries in other threads? Do you have pointer to doc why this is needed, I cannot seem to find any explanation..
It's needed to fix https://github.com/ygrek/ocaml-mysql/issues/3 See the comment at line 617 here for why a buffer is required for this.
MySQL needs a buffer to do conversion to MYSQL_TYPE_STRING. Otherwise length is 0 for FLOAT and DOUBLE.
Ref #3