xstrm.c
/*---------------------------------------------------------------------
 * disconnect_db  - Logoff from the database
 *---------------------------------------------------------------------*/
disconnect_db  - Logoff from the database
disconnect_db - Logoff from the database
static void disconnect_db(oci_t * ocip)
{
  if (OCILogoff(ocip->svcp, ocip->errp))
  {
    ocierror(ocip, (char *)"OCILogoff() failed");
  }
  if (ocip->errp)
    OCIHandleFree((dvoid *) ocip->errp, (ub4) OCI_HTYPE_ERROR);
  if (ocip->envp)
    OCIHandleFree((dvoid *) ocip->envp, (ub4) OCI_HTYPE_ENV);
}
static void disconnect_db ( oci_t * ocip ) { if ( OCILogoff ( ocip -> svcp , ocip -> errp ) ) { ocierror ( ocip , ( char * ) " " ) ; } if ( ocip -> errp ) OCIHandleFree ( ( dvoid * ) ocip -> errp , ( ub4 ) OCI_HTYPE_ERROR ) ; if ( ocip -> envp ) OCIHandleFree ( ( dvoid * ) ocip -> envp , ( ub4 ) OCI_HTYPE_ENV ) ; }
disconnect_db  - Logoff from the database
disconnect_db - Logoff from the database