Synchronous C API Functions

HCERR_OOM

HCERR_INVALID_RESULT_SET

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” on page 94. 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” on page 94

“hc_pstmt_query_ez” on page 109

Chapter 3 • Sun StorageTek 5800 System C Client API

99

Page 99
Image 99
Sun Microsystems 5800 manual Hcqrsfree