35#define PARSE_FILE_TIMESTAMPLENGTH 19 
   73                              const char *) 
override;
 
   79                              const char *line, 
uchar *base,
 
   85                               bool bad_format_errors);
 
  105                                        bool bad_format_errors);
 
Kerberos Client Authentication nullptr
Definition: auth_kerberos_client_plugin.cc:247
 
Dummy hook for parsers which do not need hook for unknown keys.
Definition: parse_file.h:70
 
bool process_unknown_string(const char *&unknown_key, uchar *, MEM_ROOT *, const char *) override
Dummy unknown key hook.
Definition: parse_file.cc:521
 
Definition: parse_file.h:87
 
bool content_ok
Definition: parse_file.h:90
 
LEX_CSTRING file_type
Definition: parse_file.h:89
 
bool ok()
Definition: parse_file.h:98
 
friend File_parser * sql_parse_prepare(const LEX_STRING *file_name, MEM_ROOT *mem_root, bool bad_format_errors)
Prepare frm to parse (read to memory).
Definition: parse_file.cc:62
 
const LEX_CSTRING & type() const
Definition: parse_file.h:99
 
File_parser()
Definition: parse_file.h:93
 
const char * end
Definition: parse_file.h:88
 
const char * start
Definition: parse_file.h:88
 
bool parse(uchar *base, MEM_ROOT *mem_root, struct File_option *parameters, uint required, Unknown_key_hook *hook) const
parse parameters.
Definition: parse_file.cc:345
 
This hook used to catch no longer supported keys and process them for backward compatibility.
Definition: parse_file.h:60
 
virtual bool process_unknown_string(const char *&unknown_key, uchar *base, MEM_ROOT *mem_root, const char *end)=0
 
virtual ~Unknown_key_hook()=default
 
static MEM_ROOT mem_root
Definition: client_plugin.cc:114
 
Some integer typedefs for easier portability.
 
unsigned char uchar
Definition: my_inttypes.h:52
 
std::string file_name(Log_file_id file_id)
Provides name of the log file with the given file id, e.g.
Definition: log0pre_8_0_30.cc:94
 
Cursor end()
A past-the-end Cursor.
Definition: rules_table_service.cc:192
 
File_parser * sql_parse_prepare(const LEX_STRING *file_name, MEM_ROOT *mem_root, bool bad_format_errors)
Prepare frm to parse (read to memory).
Definition: parse_file.cc:62
 
file_opt_type
Definition: parse_file.h:37
 
@ FILE_OPTIONS_STRING
String (LEX_STRING)
Definition: parse_file.h:38
 
@ FILE_OPTIONS_ULONGLONG
ulonglong parameter (ulonglong)
Definition: parse_file.h:40
 
@ FILE_OPTIONS_ESTRING
Escaped string (LEX_STRING)
Definition: parse_file.h:39
 
@ FILE_OPTIONS_ULLLIST
list of ulonglong values (List<ulonglong>)
Definition: parse_file.h:45
 
@ FILE_OPTIONS_TIMESTAMP
timestamp (LEX_STRING have to be allocated with length 20 (19+1)
Definition: parse_file.h:41
 
@ FILE_OPTIONS_STRLIST
list of escaped strings (List<LEX_STRING>)
Definition: parse_file.h:43
 
bool get_file_options_ulllist(const char *&ptr, const char *end, const char *line, uchar *base, File_option *parameter, MEM_ROOT *mem_root)
Parser for FILE_OPTIONS_ULLLIST type value.
Definition: parse_file.cc:289
 
File_parser_dummy_hook file_parser_dummy_hook
Definition: parse_file.cc:44
 
Definition: parse_file.h:49
 
file_opt_type type
Option type.
Definition: parse_file.h:52
 
size_t offset
offset to base address of value
Definition: parse_file.h:51
 
LEX_CSTRING name
Name of the option.
Definition: parse_file.h:50
 
The MEM_ROOT is a simple arena, where allocations are carved out of larger blocks.
Definition: my_alloc.h:83
 
Definition: mysql_lex_string.h:40
 
const char * str
Definition: mysql_lex_string.h:41
 
size_t length
Definition: mysql_lex_string.h:42
 
Definition: mysql_lex_string.h:35