Purpose
Passes hints from the server to the storage engine.
Synopsis
virtual int extra
( |
operation); |
|
| enum
ha_extra_function |
operation
; |
Description
This is the extra method.
extra() is called whenever the server
wishes to send a hint to the storage engine. The
MyISAM engine implements the most hints.
ha_innodb.cc has the most exhaustive list of
these hints.
Parameters
Return Values
There are no return values.
Usage
Most storage engines will simply return 0.
{ return 0; }
Default Implementation
By default your storage engine can opt to implement none of the
hints.
{ return 0; }