From c4a7dfbee57f22b9501a5c4b6ac8ea506f7dc189 Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Thu, 30 Oct 2025 16:25:32 -0300 Subject: [PATCH] Push 2.3.1 with this change Request from users who have tested it; they would prefer a stable version for this. --- package.xml | 11 ++++++----- php_ibm_db2.h | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.xml b/package.xml index f1af338..b1651b6 100644 --- a/package.xml +++ b/package.xml @@ -44,10 +44,10 @@ tessus@php.net yes - 2025-09-24 + 2025-10-30 - 2.3.0 + 2.3.1 2.0.1 @@ -56,9 +56,10 @@ Apache License 2.0 - - Support for PHP 8.5 - - Fix garbage in column names on IBM i - - Fix binding empty strings with WVARCHAR + - Try to use out_length for bound character columns when smaller than strlen. + This is to work around an issue on IBM i where SQL/CLI returns garbage after out_length. + Note that strlen is still used to keep existing behaviour with nulls in strings; + binary bound columns are also not affected. diff --git a/php_ibm_db2.h b/php_ibm_db2.h index 152e719..d0715a3 100644 --- a/php_ibm_db2.h +++ b/php_ibm_db2.h @@ -23,7 +23,7 @@ $Id$ */ -#define PHP_IBM_DB2_VERSION "2.3.0" +#define PHP_IBM_DB2_VERSION "2.3.1" #ifndef PHP_IBM_DB2_H #define PHP_IBM_DB2_H