msqlFreeResult(3)

NAME
msqlFreeResult - Free results of a query

SYNOPSYS
#include <msql.h>

void msqlFreeResult(m_result *result);

DESCRIPTION
Wehn a programm no longer requires the data associated with a particular wuery result, the data must be frieed using msqlFreeResult(). The result handle result associated with the data, as returned by msqlStoreResult(3) is passed to msqlFreeResult() to identify the data set to be freed. The m_result structure is defined in <msql.h> as follows:
    typedef struct result_s {
            m_data 	*queryData,
                    *cursor;
    	m_fdata	*fieldData,
    		*fieldCursor;
    	int	numRows,
    		numFields;
    } m_result;

SEE ALSO
msqlQuery(3), msqlStoreResult(3), msqld(8), msql(5).