mysql_hex_string(3) | MariaDB Connector/C | mysql_hex_string(3) |
mysql_hex_string - create a hexadecimal string
#include <mysql.h> unsigned long mysql_hex_string(char * to, const char * from, unsigned long len);
This function is used to create a hexadecimal string which can be used in SQL statements. e.g. INSERT INTO my_blob VALUES(X'A0E1CD').
Returns the length of the encoded string without the trailing null character.
Version 3.3.1 |