cvs: php4 /ext/dbx dbx_oci8.c

From: Date: Wed, 30 Oct 2002 14:57:56 +0000
Subject: cvs: php4 /ext/dbx dbx_oci8.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-15646@lists.php.net to get a copy of this message
mboeren Wed Oct 30 09:57:56 2002 EDT Modified files: /php4/ext/dbx dbx_oci8.c Log: Fixed weird membug in oci8 support. Index: php4/ext/dbx/dbx_oci8.c diff -u php4/ext/dbx/dbx_oci8.c:1.11 php4/ext/dbx/dbx_oci8.c:1.12 --- php4/ext/dbx/dbx_oci8.c:1.11 Wed Oct 30 07:02:50 2002 +++ php4/ext/dbx/dbx_oci8.c Wed Oct 30 09:57:55 2002 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: dbx_oci8.c,v 1.11 2002/10/30 12:02:50 mboeren Exp $ */ +/* $Id: dbx_oci8.c,v 1.12 2002/10/30 14:57:55 mboeren Exp $ */ #include "dbx.h" #include "dbx_oci8.h" @@ -218,6 +218,7 @@ 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;

« previous php.cvs (#15646) next »