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

mysqli setConnectionParameter() uses incorrect structure of $connectionParameters #803

Closed
dregad opened this issue Feb 19, 2022 · 0 comments
Labels
bug mysqli MySQL and compatible drivers (MariaDB, etc) (Tier 1)
Milestone

Comments

@dregad
Copy link
Member

dregad commented Feb 19, 2022

When the override of setConnectionParameter() method was introduced in the mysqli driver to fix #693, the implementation changed the structure of the $connectionParameters property, from a set of parameter/value pairs, to a map of parameter=>value. This prevents defining the same parameter multiple times (see #187).

Regression introduced by aa20883 and 27ec622.

@dregad dregad added bug mysqli MySQL and compatible drivers (MariaDB, etc) (Tier 1) labels Feb 19, 2022
@dregad dregad added this to the v5.22.1 milestone Feb 19, 2022
@dregad dregad closed this as completed in f08327a Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mysqli MySQL and compatible drivers (MariaDB, etc) (Tier 1)
Projects
None yet
Development

No branches or pull requests

1 participant