mysql_stmt_execute
mysql_stmt_execute runs a prepared statement previously set up with mysql_stmt_prepare, substituting bound parameter values and returning zero on success.
Syntax
int mysql_stmt_execute(MYSQL_STMT * stmt);Parameter
stmt- A statement handle, which was previously allocated by mysql_stmt_init().
Description
Executes a prepared statement which was previously prepared by mysql_stmt_prepare(). When executed any parameter markers which exist will automatically be replaced with the appropriate data.
Return Value
Returns zero on success, non-zero on failure.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

