I have prepared and executed a MYSQL_STMT
and now I want to fetch the data.
I can get the number of fields with mysql_stmt_field_count
.
I need to know the MYSQL_FIELD
information for each field.
How do I get the MYSQL_FIELD
information?
There is a field
member of type MYSQL_FIELD*
in MYSQL_STMT
but in the manual it says:
The MYSQL_STMT structure has no members intended for application use.
There are several functions that take a MYSQL_RES
such as mysql_fetch_fields
, but I do not have a MYSQL_RES
, I have a MYSQL_STMT
Documentation is here: http://dev.mysql.com/doc/refman/5.5/en/c.html