php-src/ext/odbc
Christoph M. Becker 9c4aa2b4fc
Output diagnostics when SQLFetch with SQL_ERROR
These diagnostics can be useful, and if not for users, at least for the
ext/odbc maintainers.  We only call `odbc_sql_error()` if the previous
`SQLFetch()` or `SQLFetchExtended()` return `SQL_ERROR`, because
otherwise the diagnostic would be unhelpful ("Failed to fetch error
message, SQL state HY000").

Note that the diagnostic is emitted as `E_WARNING` so technically this
is a small BC break.

Closes GH-15256.
2024-08-06 16:59:47 +02:00
..
tests Merge branch 'PHP-8.3' 2024-08-06 16:55:57 +02:00
config.m4 Add and update ext/odbc preprocessor macros help texts (#15223) 2024-08-05 10:12:16 +02:00
config.w32 Add and update ext/odbc preprocessor macros help texts (#15223) 2024-08-05 10:12:16 +02:00
CREDITS
odbc_arginfo.h Replace @deprecated by #[\Deprecated] for internal functions / class constants (#14750) 2024-07-10 16:47:31 +02:00
odbc_utils.c Quote when adding to connection string in (PDO_)ODBC 2022-05-27 16:56:44 +02:00
odbc.stub.php Replace @deprecated by #[\Deprecated] for internal functions / class constants (#14750) 2024-07-10 16:47:31 +02:00
php_odbc_includes.h Sync #if/ifdef/defined (#14520) 2024-06-11 22:47:05 +02:00
php_odbc.c Output diagnostics when SQLFetch with SQL_ERROR 2024-08-06 16:59:47 +02:00
php_odbc.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00