summaryrefslogtreecommitdiff
path: root/ext/dbx
diff options
context:
space:
mode:
authorMarc Boeren <mboeren@php.net>2002-10-30 14:57:55 +0000
committerMarc Boeren <mboeren@php.net>2002-10-30 14:57:55 +0000
commitc47e427e5b5b90d60d01fda72b94ebb766c98055 (patch)
tree753e99b72d7168dbd4f711278c162a2d21116493 /ext/dbx
parent328396920be3105f021bef9cc27b767aba3f4fb0 (diff)
downloadphp-git-c47e427e5b5b90d60d01fda72b94ebb766c98055.tar.gz
Fixed weird membug in oci8 support.
Diffstat (limited to 'ext/dbx')
-rw-r--r--ext/dbx/dbx_oci8.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/dbx/dbx_oci8.c b/ext/dbx/dbx_oci8.c
index bc69ee4553..1f0a937d94 100644
--- a/ext/dbx/dbx_oci8.c
+++ b/ext/dbx/dbx_oci8.c
@@ -218,6 +218,7 @@ int dbx_oci8_getrow(zval **rv, zval **result_handle, long row_number, INTERNAL_F
zval *returned_zval=NULL;
MAKE_STD_ZVAL(zval_returned_array); /* no value needed, it will be overwritten anyway */
+ ZVAL_EMPTY_STRING(zval_returned_array); /* there seems to be some weird mem-bug, so assigning a value anyway */
MAKE_STD_ZVAL(zval_resulttype);
ZVAL_LONG(zval_resulttype, OCI_NUM | OCI_RETURN_NULLS | OCI_RETURN_LOBS); /* no ASSOC, dbx handles that part */
arguments[0]=result_handle;