1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00
Files
archived-php-src/ext
Calvin Buckley cebe50a1af Remove driver specific support from ODBC (#15727)
* Purge most special cases for building ODBC with specific drivers

PDO_ODBC doesn't do this, and most of these drivers are not in use with
PHP, at least like this. Chances are these expose an ODBC driver you can
use with a normal driver manager like unixODBC or iODBC. If not, it can
be specified as a custom driver, though it does not include any
workarounds.

There might be some redundant definitions now as a result.

IBM Db2 is kept as a special case due to it also being in PDO_ODBC,
though I wonder how good of an idea this is.

See GH-15630

* Remove never used include

This would only be used on 68k classic Mac OS. Did PHP ever run there?

* Fold HAVE_SQL_EXTENDED_FETCH

All supported driver managers can do extended fetches.

* Ope, accidentally deleted this in a refactor

* All driver managers support SQLDataSources now too

So we don't need the define?

* Remove undef CHAR

There's no justification behind as to why this should be.

* Don't special case SQL_TIMESTAMP

The default handling for turning into SQL_C_CHAR is fine, and the
special case for Adabas is no longer needed.

* Assume fetch_hash is always possible

The driver managers and even Db2 support this.

This would also allow simplifying the fetch code to merge fetch_into and
fetch_array into a single implementation perhaps.

* Update UPGRADING for driver specific removal

* Update NEWS for driver specific removal
2025-09-09 00:07:15 -03:00
..
2025-08-07 19:09:03 +02:00
2025-09-06 00:08:55 +02:00
2025-09-03 21:58:21 +02:00
2025-07-25 12:05:17 +02:00
2025-09-07 18:19:21 +01:00
2025-09-08 16:39:50 +02:00
2025-07-29 14:00:37 +02:00
2025-09-03 08:42:33 +02:00
2025-08-15 08:08:16 +01:00
2025-09-08 23:11:07 +02:00
2025-09-06 14:06:10 +01:00
2025-09-05 08:10:48 +02:00
2025-09-08 19:10:46 +02:00
2025-08-16 19:28:11 +01:00
2025-07-20 17:20:53 +02:00
2025-09-06 00:01:52 +02:00
2025-09-05 18:57:31 +02:00
2025-06-21 18:03:50 +01:00