mysql_stmt_bind_result
mysql_stmt_bind_result maps result-set columns to application variables via an array of MYSQL_BIND structures, enabling mysql_stmt_fetch to populate those variables.
Syntax
my_bool mysql_stmt_bind_result(MYSQL_STMT * stmt,
MYSQL_BIND * bind);Parameters
stmt- a statement handle, which was previously allocated by mysql_stmt_init().bind- an array of MYSQL_BIND structures. The size of this array must be equal to the number of columns in result set.
Description
Binds columns in the result set to variables. Returns zero on success, non-zero on failure.
See Also
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

