mysql_query
- Provided by: libmariadb-dev (Version: 1:10.11.14-0ubuntu0.24.04.1)
- Source: mariadb
- Report a bug
mysql_query - executes a null terminated statement string
#include <mysql.h>
int mysql_query(MYSQL * mysql,
const char * query);
Performs a statement pointed to by the null terminate string query against the database. Contrary to mysql_real_query(3), mysql_query() is not binary safe.
Returns zero on success, non zero on failure.