MYSQL_STMT
MYSQL_STMT is the MariaDB Connector/C handle for a prepared statement, allocated by mysql_stmt_init and released by mysql_stmt_close; all its members are private.
Last updated
Was this helpful?
MYSQL_STMT is the MariaDB Connector/C handle for a prepared statement, allocated by mysql_stmt_init and released by mysql_stmt_close; all its members are private.
The MYSQL_STMT structure is a handle for a prepared statement. The handle will be allocated by mysql_stmt_init() and released by mysql_stmt_close().
All members of MYSQL_STMT are private and not intended for application use.
Multiple statement handles can be opened within the same connection.
After a successful call to mysql_stmt_prepare() a prepared statement will also allocate resources on the server.
Closing the connection with mysql_close() invalidates the statements but doesn't free resources on the client.
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?
Was this helpful?

