merged bugfix from other commiters
https://github.com/dizzyd/erlang-mysql-driver/pull/19
https://github.com/dizzyd/erlang-mysql-driver/pull/12