MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ha_example.h File Reference

The ha_example engine is a stubbed storage engine for example purposes only; it does nothing at this point. Its purpose is to provide a source code illustration of how to begin writing new storage engines; see also /storage/example/ha_example.cc. More...

#include "my_global.h"
#include "thr_lock.h"
#include "handler.h"
#include "my_base.h"
Include dependency graph for ha_example.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Example_share
 Example_share is a class that will be shared among all open handlers. This example implements the minimum of what you will probably need. More...
class  ha_example
 Class definition for the storage engine. More...

Detailed Description

The ha_example engine is a stubbed storage engine for example purposes only; it does nothing at this point. Its purpose is to provide a source code illustration of how to begin writing new storage engines; see also /storage/example/ha_example.cc.

Note
Please read ha_example.cc before reading this file. Reminder: The example storage engine implements all methods that are required to be implemented. For a full list of all methods that you can implement, see handler.h.
See Also
/sql/handler.h and /storage/example/ha_example.cc

Definition in file ha_example.h.