Skip to content

ext/mysqli/pgsql: mysqli_fetch_*/pgsql_fetch_* raises ValueError on c… #10832

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

Closed
wants to merge 1 commit into from

Conversation

devnexen
Copy link
Member

…onstructor args

error.

@devnexen devnexen force-pushed the raw_sqlapi_fetch_value_error branch 2 times, most recently from 145207c to 5a8ac73 Compare March 11, 2023 23:47
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPGRADING nit but LGTM otherwise!

UPGRADING Outdated
Comment on lines 95 to 101
- mysqli:
. mysqli_fetch_object raises a ValueError when the constructor_args argument
is non empty with the class not having constructor.

- PGSQL:
. pg_fetch_object raises a ValueError when the constructor_args argument
is non empty with the class not having constructor.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: just to clarify that it already was throwing.

Suggested change
- mysqli:
. mysqli_fetch_object raises a ValueError when the constructor_args argument
is non empty with the class not having constructor.
- PGSQL:
. pg_fetch_object raises a ValueError when the constructor_args argument
is non empty with the class not having constructor.
- mysqli:
. mysqli_fetch_object now raises a ValueError instead of an Exception when the constructor_args
argument is non empty with the class not having constructor.
- PGSQL:
. pg_fetch_object now raises a ValueError instead of an Exception when the constructor_args
argument is non empty with the class not having constructor.

@devnexen devnexen force-pushed the raw_sqlapi_fetch_value_error branch from 5a8ac73 to 74a211b Compare March 13, 2023 18:03
@devnexen devnexen closed this in 974a3d8 Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants