MySQL 8.3.0
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:
[legend]

Public Member Functions

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
virtual ~Unknown_key_hook ()=default
 

Detailed Description

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

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: