summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/oci8.c')
-rw-r--r--ext/oci8/oci8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 6c05462f9d..1a81a2ecbb 100644
--- a/ext/oci8/oci8.c
+++ b/ext/oci8/oci8.c
@@ -1174,7 +1174,7 @@ _oci_make_zval(zval *value,oci_statement *statement,oci_out_column *column, char
}
if (oci_loadlob(statement->conn,descr,&buffer,&loblen)) {
- ZVAL_BOOL(value,0);
+ ZVAL_FALSE(value);
} else {
ZVAL_STRINGL(value,buffer,loblen,0);
}
@@ -1197,7 +1197,7 @@ _oci_make_zval(zval *value,oci_statement *statement,oci_out_column *column, char
default:
/* XXX we SHOULD maybe have a different behaviour for unknown results! */
- ZVAL_BOOL(value,0);
+ ZVAL_FALSE(value);
return 0;
}