MySQL  8.0.17
Source Code Documentation
sql_exchange Class Referencefinal

Used to hold information about file and file structure in exchange via non-DB file (...INTO OUTFILE..., ...LOAD DATA...) XXX: We never call destructor for objects of this class. More...

#include <sql_exchange.h>

Public Member Functions

 sql_exchange (const char *name, bool dumpfile_flag, enum_filetype filetype_arg=FILETYPE_CSV)
 
bool escaped_given (void)
 

Public Attributes

Field_separators field
 
Line_separators line
 
enum enum_filetype filetype
 
const char * file_name
 
bool dumpfile
 
unsigned long skip_lines
 
const CHARSET_INFOcs
 

Detailed Description

Used to hold information about file and file structure in exchange via non-DB file (...INTO OUTFILE..., ...LOAD DATA...) XXX: We never call destructor for objects of this class.

Constructor & Destructor Documentation

◆ sql_exchange()

sql_exchange::sql_exchange ( const char *  name,
bool  dumpfile_flag,
enum_filetype  filetype_arg = FILETYPE_CSV 
)

Member Function Documentation

◆ escaped_given()

bool sql_exchange::escaped_given ( void  )

Member Data Documentation

◆ cs

const CHARSET_INFO* sql_exchange::cs

◆ dumpfile

bool sql_exchange::dumpfile

◆ field

Field_separators sql_exchange::field

◆ file_name

const char* sql_exchange::file_name

◆ filetype

enum enum_filetype sql_exchange::filetype

◆ line

Line_separators sql_exchange::line

◆ skip_lines

unsigned long sql_exchange::skip_lines

The documentation for this class was generated from the following files: