MimerSetArraySize

Set the array size.

By default the Mimer API routines MimerFetch and MimerFetchSkip uses an internal fetch buffer equal to the maximum size of one row. Depending on the actual size of the data, this buffer may hold more than one row. By increasing the array size, more data is retrieved in each server request.

Parameters

int32_t MimerSetArraySize (

            MimerStatement statementhandle,

            int32_t arraysize)

statementhandle

in

A handle returned by MimerBeginStatement[C|8], identifying the compiled statement which array size to change.

arraysize

in

The number of rows to retrieve in each request.

Returns

MIMER_SUCCESS if successful. A negative value indicate an error.

Return value

Description

MIMER_SUCCESS

Success.

MIMER_HANDLE_INVALID

The statementhandle parameter was not recognized as a handle.

MIMER_SEQUENCE_ERROR

Statement is not compiled.

Notes

Not Micro API compatible.