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

Initialize $fetchMode in ADORecordSet's constructor #959

Merged
merged 3 commits into from
May 22, 2023
Merged

Conversation

dregad
Copy link
Member

@dregad dregad commented Apr 16, 2023

Fixes #958

This reduces code duplication as the logic to initialize $fetchMode from
$ADODB_FETCH_MODE global was repeated in most drivers.

$adodbFetchMode is systematically initialized as well now; previously it
was only set in those drivers having specific fetch modes.

Fixes #958
@dregad dregad requested a review from mnewnham April 16, 2023 16:32
@dregad
Copy link
Member Author

dregad commented Apr 16, 2023

The 2 extra commits are just code cleanup.

@dregad
Copy link
Member Author

dregad commented Apr 24, 2023

@mnewnham if you can spare the time I would appreciate your review and testing on this. If you're busy just let me know and I'll merge as-is.

@dregad dregad merged commit 931a81f into master May 22, 2023
@dregad dregad deleted the init-fetchmode branch May 22, 2023 16:19
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.

Initialize ADORecordSet::$fetchMode in parent class
1 participant