php-src/ext/pdo_odbc
nielsdos c4c8d6ced7 Fix missing and inconsistent error check on SQLAllocHandle
* Missing check: SQLAllocHandle() for the environment wasn't checked in
  pdo_odbc_handle_factory(). Add a check similar to the other ones for
  SQLAllocHandle().
* Inconsistent check: one of the SQLAllocHandle() calls wasn't checked
  for SQL_SUCCESS_WITH_INFO. However, looking at the other uses and the
  documentation we should probably check this as well.

Furthermore, since there was a mix of "SQLAllocHandle: reason" and
"SQLAllocHandle (reason)" in the error reporting, I made them
consistently use the first option as that seems to be the most used for
error reporting in this file.

Closes GH-10740.
2023-03-15 21:36:50 +01:00
..
tests Migrate SKIPIF -> EXTENSIONS (#7138) 2021-06-11 11:57:42 +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 Fix missing and inconsistent error check on SQLAllocHandle 2023-03-15 21:36:50 +01:00
odbc_stmt.c Merge branch 'PHP-8.0' 2021-07-28 11:02:26 +02:00
pdo_odbc.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_pdo_odbc.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_pdo_odbc_int.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00