Documentation Home
MySQL Internals Manual

MySQL Internals Manual  /  MySQL Client/Server Protocol  /  Prepared Statements

14.7 Prepared Statements

The prepared statement protocol was introduced in MySQL 4.1 and adds a few new commands:

It also defines a more compact resultset format that is used instead of the ProtocolText::Resultset to return resultsets.

Keep in mind that not all statements can be prepared: