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

ext/pdo: Refactor do_fetch() when fetch mode is PDO::FETCH_COLUMN #17394

Merged
merged 1 commit into from
Feb 11, 2025

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Jan 7, 2025

I'm not even sure I got the logic right, as the current processing is hella confusing.

@Girgias Girgias requested a review from kamil-tekiela January 7, 2025 21:46
@Girgias Girgias force-pushed the pdo-do-fetch-column-refactoring branch from cbe14aa to ced646c Compare February 10, 2025 12:54
@Girgias Girgias requested a review from nielsdos February 10, 2025 12:55
Copy link
Member

@nielsdos nielsdos left a comment

Choose a reason for hiding this comment

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

The test changes are fine but I'm not sure the new code is actually better, I wouldn't change this as this is just changing from one style to another and risks breakages.

@Girgias
Copy link
Member Author

Girgias commented Feb 11, 2025

Will do then, I think this initially started as Kamil was wondering why I had split off the column logic.

@Girgias Girgias force-pushed the pdo-do-fetch-column-refactoring branch from ced646c to e2b069e Compare February 11, 2025 12:49
@Girgias Girgias marked this pull request as ready for review February 11, 2025 12:50
@Girgias Girgias merged commit 15d7b83 into php:master Feb 11, 2025
9 checks passed
@Girgias Girgias deleted the pdo-do-fetch-column-refactoring branch February 11, 2025 13:30
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