Home | Previous Page | Next Page   Function Descriptions >

mi_binary_query( )

The mi_binary_query( ) function reports whether the last SQL statement sent on a particular connection returns results in a binary representation.

Syntax

mi_integer mi_binary_query(conn)
   MI_CONNECTION *conn;
conn
is a pointer to a connection descriptor established by a previous call to mi_open( ), mi_server_connect( ), or mi_server_reconnect( ).
Valid in Client LIBMI Application? Valid in User-Defined Routine?
Yes Yes

Return Values

0
indicates that the query is returning values in text (external) representation.
1
indicates that the query is returning values in binary (internal) representation.
MI_ERROR
indicates that the function was not successful.

Related Topics

See also the descriptions of mi_exec( ), mi_get_result( ), mi_open( ), mi_server_connect( ), and mi_server_reconnect( ).

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]