Closed dbussink closed 8 years ago
This fails because the behavior for mysql_real_escape_string has changed in 5.7. This is documented in https://dev.mysql.com/doc/refman/5.7/en/mysql-real-escape-string.html in the explicit Note there.
mysql_real_escape_string
Because of this we need to switch to using mysql_real_escape_string_quote on 5.7. Also adding a guard for the failure code to return an exception that indicates people probably need to recompile the extension agains a newer version.
mysql_real_escape_string_quote
Fixes #88
This fails because the behavior for
mysql_real_escape_string
has changed in 5.7. This is documented in https://dev.mysql.com/doc/refman/5.7/en/mysql-real-escape-string.html in the explicit Note there.Because of this we need to switch to using
mysql_real_escape_string_quote
on 5.7. Also adding a guard for the failure code to return an exception that indicates people probably need to recompile the extension agains a newer version.Fixes #88