The mi_row_desc_free() function
The mi_row_desc_free() routine frees a row descriptor.
Syntax
void mi_row_desc_free(row_desc)
MI_ROW_DESC *row_desc;
- row_desc
- A pointer to the row descriptor to be freed.
Valid in client LIBMI application? | Valid in user-defined routine? |
---|---|
No | Yes |
Usage
The mi_row_desc_free() function frees the row descriptor that row_desc references. The mi_row_desc_free() function is the destructor function for the row descriptor. However, only use mi_row_desc_free() to free a row descriptor that was created with the mi_row_desc_create() function. Do not use it to free a row descriptor that a DataBlade® API function allocates. For example, do not use mi_row_desc_free() to free the row descriptor for the current statement, which the mi_get_row_desc_without_row() function allocates.
In a client LIBMI application, a row structure and a row descriptor are separate data structures. There can be a one-to-many correspondence between a row descriptor and its associated row structures. When you call mi_row_desc_free(), you free only the specified row descriptor.
Return values
None.