[PECL-CVS] [pecl-database-ibm_db2] master: Push 2.3.1 with this change

[email protected] (Calvin Buckley)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Calvin Buckley (NattyNarwhal)
Date: 2025-10-30T16:26:48-03:00

Commit: https://github.com/php/pecl-database-ibm_db2/commit/c4a7dfbee57f22b9501a5c4b6ac8ea506f7dc189
Raw diff: https://github.com/php/pecl-database-ibm_db2/commit/c4a7dfbee57f22b9501a5c4b6ac8ea506f7dc189.diff

Push 2.3.1 with this change

Request from users who have tested it; they would prefer a stable
version for this.

Changed paths:
  M  package.xml
  M  php_ibm_db2.h


Diff:

diff --git a/package.xml b/package.xml
index f1af338..b1651b6 100644
--- a/package.xml
+++ b/package.xml
@@ -44,10 +44,10 @@
   <email>[email protected]</email>
   <active>yes</active>
  </helper>
- <date>2025-09-24</date>
+ <date>2025-10-30</date>
  <time>05:15:47</time>
  <version>
-  <release>2.3.0</release>
+  <release>2.3.1</release>
   <api>2.0.1</api>
  </version>
  <stability>
@@ -56,9 +56,10 @@
  </stability>
  <license>Apache License 2.0</license>
  <notes>
-  - 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.
  </notes>
  <contents>
   <dir name="/">
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.