MySQL 5.6 C API Developer Guide

Chapter 9 C API Prepared Statement Data Structures

Prepared statements use several data structures:

The following discussion describes the prepared statement data types in detail. For examples that show how to use them, see Section 11.10, “mysql_stmt_execute()”, and Section 11.11, “mysql_stmt_fetch()”.