HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //proc/thread-self/root/proc/self/root/usr/share/mysql/man/man3/mariadb_stmt_fetch_fields.3
.\" Automatically generated by Pandoc 2.5
.\"
.TH "mariadb_stmt_fetch_fields" "3" "" "Version 3.3.1" "MariaDB Connector/C"
.hy
.SS Name
.PP
mariadb_stmt_fetch_fields \- Returns an array of fields containing the
column definitions ## Synopsis
.IP
.nf
\f[C]
#include <mysql.h>

MYSQL_FIELD *mariadb_stmt_fetch_fields(MYSQL_STMT * stmt);
\f[R]
.fi
.SS Description
.PP
Returns an array of fields.
Each field contains the definition for a column of the result set.
If the statement doesn\[cq]t have a result set a NULL pointer will be
returned.
.SS Parameter
.IP \[bu] 2
\f[C]stmt\f[R] \- A statement handle, which was previously allocated by
\f[B]mysql_stmt_init(3)\f[R].
.SS Notes
.PP
The number of fields can be obtained by
\f[B]mysql_stmt_field_count(3)\f[R]
.SS History
.PP
This function was added in MariaDB Connector/C 3.1.0
.SS See Also
.PP
*\f[B]mysql_stmt_field_count(3)\f[R]