mariadb_dyncol_column_count(3) MariaDB Connector/C mariadb_dyncol_column_count(3)

mariadb_dyncol_column_count - Get number of columns in dynamic column blob ## Synopsis

#include <mariadb_dyncol.h>
enum enum_dyncol_func_result
mariadb_dyncol_column_count(DYNAMIC_COLUMN *str,
                            unsigned int *column_count);

Gets the number of columnns in a dynamic column blob.

*str - A pointer to a DYNAMIC_COLUMN structure
column_count - An unsigned integer pointer where the number of columns will be stored.

Returns ER_DYNCOL_OK on success, otherwise error.

mariadb_dyncol_column_count() doesn’t count NULL values.

Dynamic Column Error Codes (dyncol_typesanddefs#error-codes)
Version 3.3.1