[PECL-CVS] [pecl-database-pdo_oci] main: Switch to Z_ISNULL_P
[email protected] (Shivam Mathur via Sharad Chandran R)
| Newsgroups | php.pecl.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Shivam Mathur (shivammathur)
Committer: Sharad Chandran R (sharadraju)
Date: 2025-12-30T10:40:20+05:30
Commit: https://github.com/php/pecl-database-pdo_oci/commit/c77ad0086221dc95098fe1ce8799eec7436859cb
Raw diff: https://github.com/php/pecl-database-pdo_oci/commit/c77ad0086221dc95098fe1ce8799eec7436859cb.diff
Switch to Z_ISNULL_P
Changed paths:
M oci_statement.c
Diff:
diff --git a/oci_statement.c b/oci_statement.c
index 94ea6c5..68e275d 100644
--- a/oci_statement.c
+++ b/oci_statement.c
@@ -219,7 +219,7 @@ static sb4 oci_bind_input_cb(dvoid *ctx, OCIBind *bindp, ub4 iter, ub4 index, dv
if (P->thing) {
*bufpp = P->thing;
*alenp = sizeof(void*);
- } else if (ZVAL_IS_NULL(parameter)) {
+ } else if (Z_ISNULL_P(parameter)) {
/* insert a NULL value into the column */
P->indicator = -1; /* NULL */
*bufpp = 0;