Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support of setting mysqli_options #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add support of setting mysqli_options #64

wants to merge 1 commit into from

Conversation

Habetdin
Copy link
Contributor

@Habetdin Habetdin commented Nov 10, 2019

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.

@00dev
Copy link
Contributor

00dev commented Nov 10, 2019

What if I use mysqlnd but don't want to use MYSQLI_OPT_INT_AND_FLOAT_NATIVE?

@Habetdin
Copy link
Contributor Author

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.

Add support of setting mysqli_options by changing mysqli_connect to mysqli_real_connect
@Habetdin Habetdin changed the title Add MYSQLI_OPT_INT_AND_FLOAT_NATIVE support Add support of setting mysqli_options Nov 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants