Documentation Home
MySQL Internals Manual


23.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
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.