Documentation Home
MySQL Internals Manual
Download this Manual
EPUB - 0.8Mb


22.18.7 extra

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

  • operation

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; } 

User Comments
Sign Up Login You must be logged in to post a comment.