[php-src] PR #19848: ODBC fetch refactoring
| From: | NattyNarwhal | Date: | Mon, 15 Sep 2025 16:49:29 +0000 |
| Subject: | [php-src] PR #19848: ODBC fetch refactoring | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33233@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19848
Author: NattyNarwhal
* Merge
php_odbc_fetch_into into php_odbc_fetch_hash.
* The implementation was nearly identical, so refactor into a common implementation with some
differences in how the result set array is returned.
* odbc_fetch_into is kind of weird. I don't know if it'd be better to
deprecate it and have a more "symmetrical" API that works like
odbc_fetch_array.
* Converts php_odbc_fetch_hash to use ZPP.
* Opportunistic since I was there anyways.
* Convert SQLExtendedFetch calls to SQLFetchScroll
* This is obsolete, should be like PDO_ODBC now. Fixes GH-19522.