#include <parse_file.h>
◆ File_parser()
| File_parser::File_parser |
( |
| ) |
|
|
inline |
◆ ok()
◆ parse()
parse parameters.
- Parameters
-
| base | base address for parameter writing (structure like TABLE) |
| mem_root | MEM_ROOT for parameters allocation |
| parameters | parameters description |
| required | number of required parameters in above list. If the file contains more parameters than "required", they will be ignored. If the file contains less parameters then "required", non-existing parameters will remain their values. |
| hook | hook called for unknown keys |
- Return values
-
◆ type()
◆ 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
◆ content_ok
| bool File_parser::content_ok |
|
private |
◆ end
| const char * File_parser::end |
|
private |
◆ file_type
◆ start
| const char* File_parser::start |
|
private |
The documentation for this class was generated from the following files: