From ebad4ff6af60a5ba9914a26514ec2b9477c0cfe3 Mon Sep 17 00:00:00 2001 From: Jason Greene Date: Thu, 19 Apr 2001 22:00:34 +0000 Subject: [PATCH] Change all // to /* */, fixed small whitespace. Builds on Solaris now. --- ext/oci8/oci8.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index ca7725e7cf..435a77116c 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -788,14 +788,14 @@ static void _oci_coll_list_dtor(zend_rsrc_list_entry *rsrc) { oci_collection *coll = (oci_collection *)rsrc->ptr; - oci_debug("START _oci_coll_list_dtor: %d",coll->id); + oci_debug("START _oci_coll_list_dtor: %d",coll->id); zend_list_delete(coll->conn->id); - // Note sure if we need to free the object. Have an - // oracle TAR out on this one. - // OCIDescriptorFree(descr->ocidescr, descr->type); + /* Note sure if we need to free the object. Have an + oracle TAR out on this one. + OCIDescriptorFree(descr->ocidescr, descr->type); */ - oci_debug("END _oci_coll_list_dtor: %d",coll->id); + oci_debug("END _oci_coll_list_dtor: %d",coll->id); efree(coll); } @@ -5099,7 +5099,7 @@ PHP_FUNCTION(ocinewcollection) RETURN_FALSE; } - // get the collection type code of the attribute + /* get the collection type code of the attribute */ connection->error = OCIAttrGet((dvoid*) parmp1, (ub4) OCI_DTYPE_PARAM, (dvoid*) &(coll->coll_typecode), (ub4 *) 0, (ub4) OCI_ATTR_COLLECTION_TYPECODE, -- 2.50.1