mariadb_stmt_execute_direct
Syntax
int mariadb_stmt_execute_direct(MYSQL_STMT * stmt, const char *query, size_t length);stmt- A statement handle, which was previously allocated by mysql_stmt_init().querySQL statementlengthLength of SQL statement
Description
Prepares and executes a statement which was previously allocated by mysql_stmt_init(), using the current values of the parameter variables if any parameters exist in the statement.
Returns zero on success, non-zero on failure.
This function was added in Connector/C 3.0 and requires MariaDB 10.2 or later versions.
See Also
Example
Last updated
Was this helpful?

