1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 16:43:44 +02:00
Files
archived-php-src/ext
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
..
2022-06-25 07:39:55 +01:00
2022-07-27 12:13:32 +02:00
2023-02-12 21:33:39 -07:00
2023-03-01 23:02:03 +01:00
2022-09-13 11:33:09 +01:00
2022-04-25 14:29:44 +02:00
2022-09-27 23:32:15 +02:00
2022-06-13 14:43:51 +02:00
2022-08-31 14:22:44 +02:00
2022-12-18 23:20:29 -07:00
2023-03-15 01:35:01 +01:00
2022-10-13 16:00:36 +02:00
2023-03-15 01:35:01 +01:00
2023-03-01 23:02:03 +01:00
2023-03-13 12:36:59 +01:00
2022-06-15 15:39:00 +02:00