php-src/ext/odbc
Calvin Buckley 60047025db
Remove references to ODBCVER and assume ODBC 3.x (#19453)
* Remove references to ODBCVER and assume ODBC 3.x

See https://wiki.php.net/rfc/deprecations_php_8_5#remove_support_for_older_odbc_versions

* Avoid calling deprecated ODBC functions

`SQLGetConnectOption`, `SQLSetConnectOption` and `SQLSetStmtOption` are
deprecated, so if ODBC 3 is available, we use `SQLSetConnectAttr`,
`SQLGetConnectAttr`, and `SQLSetStmtAttr` instead.

(This is based on GH-17556, but just assumes ODBC 3.x.)

* Remove wrappers for SQLColAttribute

We don't need to support the old way of doing it.

* Just call SQLAllocHandle directly

Again, no need for the version specific wrapper

* Update NEWS for ODBCVER in beta2

* [skip ci] UPGRADING for ODBCVER changes

---------

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2025-08-12 18:05:43 -03:00
..
tests Merge branch 'PHP-8.3' 2024-08-06 16:55:57 +02:00
config.m4 Remove references to ODBCVER and assume ODBC 3.x (#19453) 2025-08-12 18:05:43 -03:00
config.w32 Remove references to ODBCVER and assume ODBC 3.x (#19453) 2025-08-12 18:05:43 -03:00
CREDITS
odbc.stub.php Remove references to ODBCVER and assume ODBC 3.x (#19453) 2025-08-12 18:05:43 -03:00
odbc_arginfo.h Remove references to ODBCVER and assume ODBC 3.x (#19453) 2025-08-12 18:05:43 -03:00
odbc_utils.c Quote when adding to connection string in (PDO_)ODBC 2022-05-27 16:56:44 +02:00
php_odbc.c Remove references to ODBCVER and assume ODBC 3.x (#19453) 2025-08-12 18:05:43 -03:00
php_odbc.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_odbc_includes.h Remove references to ODBCVER and assume ODBC 3.x (#19453) 2025-08-12 18:05:43 -03:00