[PECL-CVS] [pecl-database-pdo_ibm] pdo-class-8.5: Forgot ATTR_DBC_SYS_NAMING

[email protected] (Calvin Buckley)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Calvin Buckley (NattyNarwhal)
Date: 2025-09-12T10:35:06-03:00

Commit: https://github.com/php/pecl-database-pdo_ibm/commit/78bcc5764bd82224b68aae770659931701d9bc39
Raw diff: https://github.com/php/pecl-database-pdo_ibm/commit/78bcc5764bd82224b68aae770659931701d9bc39.diff

Forgot ATTR_DBC_SYS_NAMING

Changed paths:
  M  pdo_ibm.stub.php
  M  pdo_ibm_arginfo.h


Diff:

diff --git a/pdo_ibm.stub.php b/pdo_ibm.stub.php
index 2f23266..4a8da6e 100644
--- a/pdo_ibm.stub.php
+++ b/pdo_ibm.stub.php
@@ -36,6 +36,9 @@ class Ibm extends \PDO
 		public const int ATTR_TRUSTED_CONTEXT_PASSWORD = UNKNOWN;
 #endif
 #ifdef PASE
+		/** @cvalue PDO_I5_ATTR_DBC_SYS_NAMING */
+		public const int ATTR_DBC_SYS_NAMING = UNKNOWN;
+
 		/** @cvalue PDO_I5_ATTR_COMMIT */
 		public const int ATTR_COMMIT = UNKNOWN;
 
diff --git a/pdo_ibm_arginfo.h b/pdo_ibm_arginfo.h
index b8ab7eb..24b0464 100644
--- a/pdo_ibm_arginfo.h
+++ b/pdo_ibm_arginfo.h
@@ -1,5 +1,5 @@
 /* This is a generated file, edit the .stub.php file instead.
- * Stub hash: 427aa66f949b5916e4fe54c09da53fa2853479e5 */
+ * Stub hash: e6e91d0261810097515617adf9364f2ddf293a43 */
 
 static zend_class_entry *register_class_Pdo_Ibm(zend_class_entry *class_entry_PDO)
 {
@@ -53,6 +53,12 @@ static zend_class_entry *register_class_Pdo_Ibm(zend_class_entry *class_entry_PD
 #endif
 #if defined(PASE)
 
+	zval const_ATTR_DBC_SYS_NAMING_value;
+	ZVAL_LONG(&const_ATTR_DBC_SYS_NAMING_value, PDO_I5_ATTR_DBC_SYS_NAMING);
+	zend_string *const_ATTR_DBC_SYS_NAMING_name = zend_string_init_interned("ATTR_DBC_SYS_NAMING", sizeof("ATTR_DBC_SYS_NAMING") - 1, 1);
+	zend_declare_typed_class_constant(class_entry, const_ATTR_DBC_SYS_NAMING_name, &const_ATTR_DBC_SYS_NAMING_value, ZEND_ACC_PUBLIC, NULL, (zend_type) ZEND_TYPE_INIT_MASK(MAY_BE_LONG));
+	zend_string_release(const_ATTR_DBC_SYS_NAMING_name);
+
 	zval const_ATTR_COMMIT_value;
 	ZVAL_LONG(&const_ATTR_COMMIT_value, PDO_I5_ATTR_COMMIT);
 	zend_string *const_ATTR_COMMIT_name = zend_string_init_interned("ATTR_COMMIT", sizeof("ATTR_COMMIT") - 1, 1);
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.