24#ifndef SQL_EXCHANGE_INCLUDED
25#define SQL_EXCHANGE_INCLUDED
Using this class is fraught with peril, and you need to be very careful when doing so.
Definition: sql_string.h:167
Used to hold information about file and file structure in exchange via non-DB file (....
Definition: sql_exchange.h:79
sql_exchange(const char *name, bool dumpfile_flag, enum_filetype filetype_arg=FILETYPE_CSV)
Definition: query_result.cc:129
enum enum_filetype filetype
Definition: sql_exchange.h:83
bool dumpfile
Definition: sql_exchange.h:85
Field_separators field
Definition: sql_exchange.h:81
const char * file_name
Definition: sql_exchange.h:84
bool escaped_given(void)
Definition: query_result.cc:142
const CHARSET_INFO * cs
Definition: sql_exchange.h:87
unsigned long skip_lines
Definition: sql_exchange.h:86
Line_separators line
Definition: sql_exchange.h:82
enum_filetype
Definition: sql_exchange.h:32
@ FILETYPE_CSV
Definition: sql_exchange.h:32
@ FILETYPE_XML
Definition: sql_exchange.h:32
enum_source_type
Definition: sql_exchange.h:30
@ LOAD_SOURCE_S3
Definition: sql_exchange.h:30
@ LOAD_SOURCE_URL
Definition: sql_exchange.h:30
@ LOAD_SOURCE_FILE
Definition: sql_exchange.h:30
case opt name
Definition: sslopt-case.h:29
Definition: m_ctype.h:421
Helper for the sql_exchange class.
Definition: sql_exchange.h:53
const String * field_term
Definition: sql_exchange.h:54
void merge_field_separators(const Field_separators &s)
Definition: sql_exchange.h:63
const String * enclosed
Definition: sql_exchange.h:56
const String * escaped
Definition: sql_exchange.h:55
void cleanup()
Definition: sql_exchange.h:59
bool opt_enclosed
Definition: sql_exchange.h:57
Helper for the sql_exchange class.
Definition: sql_exchange.h:38
void merge_line_separators(const Line_separators &s)
Definition: sql_exchange.h:43
void cleanup()
Definition: sql_exchange.h:42
const String * line_term
Definition: sql_exchange.h:39
const String * line_start
Definition: sql_exchange.h:40