MimerCloseCursor

Closes an open cursor.

When the cursor is closed, all resources held by the result set are released.

After the cursor is closed, the cursor may either be reopened using a call to MimerOpenCursor or the statement should be released using a call to MimerEndStatement. Before the cursor is reopened, a new set of parameters may be supplied using any of the data input functions.

Parameters

int32_t MimerCloseCursor (MimerStatement statementhandle)

statementhandle

in

A handle returned by MimerBeginStatement[C|8], identifying a prepared statement.

Returns

A negative value indicating an error, or zero if successful.

Return value

Description

MIMER_SUCCESS

Success.

MIMER_SEQUENCE_ERROR

If the statement cursor is not open.

Other value < 0

Any of the server error codes listed in Return Codes.

 

Notes

This routine interacts with the database server.

Micro API compatible.