mysql - a mysql handle, which was previously allocated by mysql_init() or mysql_real_connect().
query - a string containing the statement to be performed.
long - length of the string.
mysql_real_query() is a binary-safe function for executing a statement on the database server. Returns zero on success, otherwise non-zero.
int mysql_real_query(MYSQL * mysql,
const char * q,
unsigned long);