[php-src] PR #18963: Remove HAVE_SQLITE3_{CLOSE_V2,ERRSTR}
| From: | petk | Date: | Fri, 27 Jun 2025 20:46:14 +0000 |
| Subject: | [php-src] PR #18963: Remove HAVE_SQLITE3_{CLOSE_V2,ERRSTR} | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32228@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/18963
Author: petk
It would be kind of good to follow up on these minimum version bumps and clean the code on the way.
I should recheck this a bit if everything is fine but these could be probably changed...
As of PHP 8.5 the minimum required SQLite library is 3.7.17, and this removes the following
preprocessor macros checks:
- HAVE_SQLITE3_CLOSE_V2 (sqlite3_close_v2() function is available since SQLite 3.7.14.)
- HAVE_SQLITE3_ERRSTR (sqlite3_errstr() function is available since SQLite 3.7.15)
- SQLITE_VERSION_NUMBER should be now always greater than 3006011 (3.6.11).
Otherwise, tests fail when using SQLite 3.7.17 due to unconditional usage of SQLITE_DETERMINISTIC
and similar... but this is for now not important.