MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
File_parser_dummy_hook Class Reference

#include <parse_file.h>

Inheritance diagram for File_parser_dummy_hook:
Collaboration diagram for File_parser_dummy_hook:

Public Member Functions

virtual bool process_unknown_string (const char *&unknown_key, uchar *base, MEM_ROOT *mem_root, const char *end)

Detailed Description

Dummy hook for parsers which do not need hook for unknown keys.

Definition at line 67 of file parse_file.h.

Member Function Documentation

bool File_parser_dummy_hook::process_unknown_string ( const char *&  unknown_key,
uchar *  base,
MEM_ROOT mem_root,
const char *  end 
)
virtual

Dummy unknown key hook.

Parameters
[in,out]unknown_keyreference on the line with unknown parameter and the parsing point
[in]basebase address for parameter writing (structure like TABLE)
[in]mem_rootMEM_ROOT for parameters allocation
[in]endthe end of the configuration
Note
This hook used to catch no longer supported keys and process them for backward compatibility, but it will not slow down processing of modern format files. This hook does nothing except debug output.
Return values
FALSEOK
TRUEError

Implements Unknown_key_hook.

Definition at line 900 of file parse_file.cc.


The documentation for this class was generated from the following files: