#include <stddef.h>
#include <sys/types.h>
#include "lex_string.h"
#include "my_inttypes.h"
Go to the source code of this file.
◆ PARSE_FILE_TIMESTAMPLENGTH
#define PARSE_FILE_TIMESTAMPLENGTH 19 |
◆ file_opt_type
Enumerator |
---|
FILE_OPTIONS_STRING | String (LEX_STRING)
|
FILE_OPTIONS_ESTRING | Escaped string (LEX_STRING)
|
FILE_OPTIONS_ULONGLONG | ulonglong parameter (ulonglong)
|
FILE_OPTIONS_TIMESTAMP | timestamp (LEX_STRING have to be allocated with length 20 (19+1)
|
FILE_OPTIONS_STRLIST | list of escaped strings (List<LEX_STRING>)
|
FILE_OPTIONS_ULLLIST | list of ulonglong values (List<ulonglong>)
|
◆ get_file_options_ulllist()
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.
- Parameters
-
[in,out] | ptr | pointer to parameter |
[in] | end | end of the configuration |
[in] | line | pointer to the line beginning |
[in] | base | base address for parameter writing (structure like TABLE) |
[in] | parameter | description |
[in] | mem_root | MEM_ROOT for parameters allocation |
◆ sql_parse_prepare()
Prepare frm to parse (read to memory).
- Parameters
-
file_name | path & filename to .frm file |
mem_root | MEM_ROOT for buffer allocation |
bad_format_errors | send errors on bad content |
- Note
- returned pointer + 1 will be type of .frm
- Returns
- 0 - error
-
parser object
◆ file_parser_dummy_hook