Sun StorageTek 5800 System Client API Reference Guide

hc_qrs_free

Releases the resources associated with this QueryResultSet.

Synopsis

     hcerr_t hc_qrs_free (**rsetp);

Description

This function releases the resources associated with this QueryResultSet.


Note –

When a query is incorrect and elicits an error from the server, the error is often reported after hc_qrs_free and not from hc_query_ez. Your application should be prepared to receive and report an error from either place.


Parameter

rset

Return Codes

     HCERR_OK
     HCERR_BAD_REQUEST
     HCERR_OOM
     HCERR_INVALID_RESULT_SET

See Also

hc_query_ez

hc_pstmt_query_ez