The mi_scan_table() accessor function

The mi_scan_table() function retrieves a pointer to the table descriptor for the table that the access method scans.

Syntax

MI_AM_TABLE_DESC* mi_scan_table(MI_AM_SCAN_DESC *scanDesc);
scanDesc
Points to the scan descriptor.

Usage

The table descriptor points to the row descriptor. The row descriptor contains the column data types that define a row.

The table descriptor also typically contains PER_STMT_EXEC or PER_STMT_PREP user data that remains in memory until the completion of the current SQL statement.

Return values

This function returns a pointer to the table descriptor that is associated with this scan.

Related topics

Accessor functions for the row descriptor in the Informix® DataBlade® API Programmer's Guide