mariadb_stmt_fetch_fields
mariadb_stmt_fetch_fields returns an array of MYSQL_FIELD descriptors for each result set column of a prepared statement, added in MariaDB Connector/C 3.1.0.
Syntax
MYSQL_FIELD *mariadb_stmt_fetch_fields(MYSQL_STMT * stmt);Parameter
stmt- A statement handle, which was previously allocated by mysql_stmt_init().
Description
Returns an array of fields. Each field contains the definition for a column of the result set. If the statement doesn't have a result set a NULL pointer will be returned.
This function was added in Connector/C 3.1.0
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

