Documentation Home
MySQL 5.7 Reference Manual
Related Documentation Download this Manual Excerpts from this Manual mysql_stmt_init()

MYSQL_STMT *mysql_stmt_init(MYSQL *mysql)


Create a MYSQL_STMT handle. The handle should be freed with mysql_stmt_close(MYSQL_STMT *).

See also Section 23.8.9, “C API Prepared Statement Data Structures”, for more information.

Return Values

A pointer to a MYSQL_STMT structure in case of success. NULL if out of memory.


Download this Manual
User Comments
Sign Up Login You must be logged in to post a comment.