safemysql
safemysql copied to clipboard
Add support of setting mysqli_options
Add support of setting mysqli_options by changing mysqli_connect to mysqli_real_connect
Setting the MYSQLI_OPT_INT_AND_FLOAT_NATIVE as example in default options.
What if I use mysqlnd but don't want to use MYSQLI_OPT_INT_AND_FLOAT_NATIVE?
What if I use mysqlnd but don't want to use MYSQLI_OPT_INT_AND_FLOAT_NATIVE?
Hmm, nice question. Added new setting for that.
Tbh, this could be extended with more needed mysqli_options, so might be it's better to pass needed mysqli_options as array. Need to rework it more.