php-src/ext/pdo_odbc
Christoph M. Becker 23a3bbb468
Fix #44643: bound parameters ignore explicit type definitions
If `SQLDescribeParam()` fails for a parameter, we must not assume
`SQL_LONGVARCHAR` for any param which is not `PDO_PARAM_LOB`.  At least
mapping `PDO_PARAM_INT` to `SQL_INTEGER` should be safe, and not
introduce a BC break.

Closes GH-6973.
2021-05-12 13:30:51 +02:00
..
tests Fix #44643: bound parameters ignore explicit type definitions 2021-05-12 13:30:51 +02:00
config.m4 Remove conditional calls of always available macros 2019-07-14 22:24:21 +02:00
config.w32 Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
CREDITS Change some permissions from 755 to 644 2018-08-28 23:26:49 +02:00
odbc_driver.c Merge branch 'PHP-7.3' into PHP-7.4 2020-09-28 22:58:16 +02:00
odbc_stmt.c Fix #44643: bound parameters ignore explicit type definitions 2021-05-12 13:30:51 +02:00
pdo_odbc.c Remove local variables 2019-02-03 21:03:00 +01:00
php_pdo_odbc_int.h Merge branch 'PHP-7.3' into PHP-7.4 2020-02-17 22:54:16 +01:00
php_pdo_odbc.h Cleanup unused module globals 2019-03-12 13:44:05 +03:00