MySQL  8.0.21
Source Code Documentation
query_result.cc File Reference
#include "sql/query_result.h"
#include "my_config.h"
#include <fcntl.h>
#include <limits.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include <algorithm>
#include "lex_string.h"
#include "m_ctype.h"
#include "m_string.h"
#include "my_dbug.h"
#include "my_macros.h"
#include "my_thread_local.h"
#include "mysql/psi/mysql_file.h"
#include "mysql/udf_registration_types.h"
#include "mysql_com.h"
#include "sql/derror.h"
#include "sql/item.h"
#include "sql/item_func.h"
#include "sql/mysqld.h"
#include "sql/parse_tree_nodes.h"
#include "sql/protocol.h"
#include "sql/sp_rcontext.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/sql_error.h"
#include "sql/sql_exchange.h"
#include "sql/system_variables.h"
#include "sql_string.h"

Macros

#define NEED_ESCAPING(x)
 

Functions

static File create_file (THD *thd, char *path, sql_exchange *exchange, IO_CACHE *cache)
 

Variables

static const String default_line_term ("\, default_charset_info)
 
static const String default_escaped ("\, default_charset_info)
 
static const String default_field_term ("\, default_charset_info)
 
static const String default_xml_row_term ("<row>", default_charset_info)
 
static const String my_empty_string ("", default_charset_info)
 

Macro Definition Documentation

◆ NEED_ESCAPING

#define NEED_ESCAPING (   x)
Value:
((int)(uchar)(x) == escape_char || \
(enclosed ? (int)(uchar)(x) == field_sep_char \
: (int)(uchar)(x) == field_term_char) || \
(int)(uchar)(x) == line_sep_char || !(x))
unsigned char uchar
Definition: my_inttypes.h:51
static char * enclosed
Definition: mysqldump.cc:133

Function Documentation

◆ create_file()

static File create_file ( THD thd,
char *  path,
sql_exchange exchange,
IO_CACHE cache 
)
static

Variable Documentation

◆ default_escaped

const String default_escaped("\", default_charset_info)
static

◆ default_field_term

const String default_field_term("\", default_charset_info)
static

◆ default_line_term

const String default_line_term("\", default_charset_info)
static

◆ default_xml_row_term

const String default_xml_row_term("<row>", default_charset_info)
static

◆ my_empty_string

const String my_empty_string("", default_charset_info)
static