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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php