-
Notifications
You must be signed in to change notification settings - Fork 259
mariadb_dyncol_val_str
Georg Richter edited this page Jun 11, 2023
·
2 revisions
mariadb_dyncol_val_str - Convert dynamic column value to string
#include <mariadb_dyncol.h>
enum enum_dyncol_func_result
mariadb_dyncol_val_str(DYNAMIC_STRING *str, DYNAMIC_COLUMN_VALUE *val,
MARIADB_CHARSET_INFO *cs, char quote)
Converts the value of a dynamic column to string.
-
str
- A pointer to a dynamic string variable -
value
- A pointer to aDYNAMIC_COLUMN_VALUE
structure. -
cs
- A pointer to aMARIADB_CHARSET_INFO
structure -
quote
- quote character in which the string will be enclosed.
The function returns ER_DYNCOL_OK
on success, ER_DYNCOL_FORMAT
if the value cannot be converted to a double, or ER_DYNCOL_TRUNCATED
if a truncation occurred.
MariaDB Connector/C Reference