(mysql.info.gz) mysql_stmt_attr_set
Info Catalog
(mysql.info.gz) mysql_stmt_attr_get
(mysql.info.gz) C API Prepared statement functions
(mysql.info.gz) mysql_stmt_bind_param
22.2.7.3 `mysql_stmt_attr_set()'
................................
`int mysql_stmt_attr_set(MYSQL_STMT *stmt, enum enum_stmt_attr_type
option, const void *arg)'
Description
...........
Can be used to set affect behavior for a statement. This function may
be called multiple times to set several options.
The `option' argument is the option that you want to set; the `arg'
argument is the value for the option. If the option is an integer, then
`arg' should point to the value of the integer.
Possible options values:
*Option* *Argument *Function*
Type*
`STMT_ATTR_UPDATE_MAX_LENGTH' `my_bool *' If set to 1: Update
metadata
`MYSQL_FIELD->max_length'
in
`mysql_stmt_store_result()'.
This function was added in MySQL 4.1.2.
Return Values
.............
`0' if okay. Non-zero if `option' is unknown.
Errors
......
None.
Info Catalog
(mysql.info.gz) mysql_stmt_attr_get
(mysql.info.gz) C API Prepared statement functions
(mysql.info.gz) mysql_stmt_bind_param
automatically generated byinfo2html