17 #ifndef _PARSE_FILE_H_
18 #define _PARSE_FILE_H_
20 #include "my_global.h"
21 #include "sql_string.h"
22 #include "sql_alloc.h"
28 #define PARSE_FILE_TIMESTAMPLENGTH 19
33 FILE_OPTIONS_ULONGLONG,
34 FILE_OPTIONS_TIMESTAMP,
60 virtual bool process_unknown_string(
const char *&unknown_key, uchar* base,
61 MEM_ROOT *mem_root,
const char *end)= 0;
72 MEM_ROOT *mem_root,
const char *end);
78 const char *line, uchar* base,
88 MEM_ROOT *mem_root,
bool bad_format_errors);
95 const char *schema,
const char *old_name,
96 const char *new_db,
const char *new_name);
100 const char *start, *end;
105 { file_type.str= 0; file_type.length= 0; }
107 my_bool ok() {
return content_ok; }
108 const LEX_STRING *type()
const {
return &file_type; }
115 bool bad_format_errors);