-
Notifications
You must be signed in to change notification settings - Fork 259
mysql_character_set_name
Georg Richter edited this page May 30, 2023
·
2 revisions
mysql_character_set_name - Returns the character set used for the specified connection
#include <mysql.h>
const char* mysql_character_set_name(MYSQL * mysql);
Returns the character set used for the specified connection.
-
mysql
is a connection identifier, which was previously allocated by mysql_init() and connected by mysql_real_connect().
The character set name used for the specified connection, or NULL if an error occurred.
This function is deprecated. Instead, use mariadb_get_infov() with option MARIADB_CONNECTION_CHARSET_INFO
.
MariaDB Connector/C Reference