MySQL  8.0.19
Source Code Documentation
File_parser_dummy_hook Class Reference

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

#include <parse_file.h>

Inheritance diagram for File_parser_dummy_hook:
Unknown_key_hook

Public Member Functions

 File_parser_dummy_hook ()
 
bool process_unknown_string (const char *&unknown_key, uchar *, MEM_ROOT *, const char *) override
 Dummy unknown key hook. More...
 
- Public Member Functions inherited from Unknown_key_hook
 Unknown_key_hook ()
 
virtual ~Unknown_key_hook ()
 

Detailed Description

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

Constructor & Destructor Documentation

◆ File_parser_dummy_hook()

File_parser_dummy_hook::File_parser_dummy_hook ( )
inline

Member Function Documentation

◆ process_unknown_string()

bool File_parser_dummy_hook::process_unknown_string ( const char *&  unknown_key,
uchar ,
MEM_ROOT ,
const char *   
)
overridevirtual

Dummy unknown key hook.

Parameters
[in,out]unknown_keyreference on the line with unknown parameter and the parsing point
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.


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