MySQL 8.0 Reference Manual Including MySQL NDB Cluster 8.0

28.7.4 C API Data Structures

This section describes C API data structures other than those used for prepared statements, the asynchronous interface, or the replication stream interface. For information about those, see Section 28.7.8, “C API Prepared Statement Data Structures”, Section 28.7.12, “C API Asynchronous Interface Data Structures”, and Section 28.7.18, “C API Binary Log Data Structures”.

The MYSQL_FIELD structure contains the members described in the following list. The definitions apply primarily for columns of result sets such as those produced by SELECT statements. MYSQL_FIELD structures are also used to provide metadata for OUT and INOUT parameters returned from stored procedures executed using prepared CALL statements. For such parameters, some of the structure members have a meaning different from the meaning for column values.