summaryrefslogtreecommitdiff
path: root/ext/oci8/php_oci8_int.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-09-20 16:46:04 +0300
committerDmitry Stogov <dmitry@zend.com>2017-09-20 16:46:04 +0300
commit9a01fe712a684dd0c6c6b36c48e7d16b78d9108d (patch)
tree0d5404f361d0f619812e4381d74bd9e1e89db81d /ext/oci8/php_oci8_int.h
parent9641586efa861abc1f6b1dba9efba73a065e3ca5 (diff)
downloadphp-git-9a01fe712a684dd0c6c6b36c48e7d16b78d9108d.tar.gz
Fixed few ext/oci8 bugs
Diffstat (limited to 'ext/oci8/php_oci8_int.h')
-rw-r--r--ext/oci8/php_oci8_int.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/oci8/php_oci8_int.h b/ext/oci8/php_oci8_int.h
index 97ccbd5776..fc034d5892 100644
--- a/ext/oci8/php_oci8_int.h
+++ b/ext/oci8/php_oci8_int.h
@@ -209,7 +209,7 @@ typedef struct {
/* {{{ php_oci_define */
typedef struct {
- zval *zval; /* zval used in define */
+ zval val; /* zval used in define */
text *name; /* placeholder's name */
ub4 name_len; /* placeholder's name length */
ub4 type; /* define type */
@@ -244,8 +244,7 @@ typedef struct {
/* {{{ php_oci_bind */
typedef struct {
OCIBind *bind; /* bind handle */
- zval *zval; /* value */
- zval parameter; /* a copy of bound variable used for oci_bind_by_name */
+ zval val; /* value */
dvoid *descriptor; /* used for binding of LOBS etc */
OCIStmt *statement; /* used for binding REFCURSORs */
php_oci_statement *parent_statement; /* pointer to the parent statement */