mysql_fetch_lengths - Man Page

Name

mysql_fetch_lengths - returns an array of length values for the current row

Synopsis

#include <mysql.h>

unsigned long * mysql_fetch_lengths(MYSQL_RES * result);

Description

The mysql_fetch_lengths() function returns an array containing the lengths of every column of the current row within the result set (not including terminating zero character) or NULL if an error occurred.

Parameter

Return value

An array of unsigned long values . The size of the array can be determined by the number of fields in current result set.

See also

Info

Version 3.3.1 MariaDB Connector/C