_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);
}
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,