26 size_t opt_secure_file_priv_len;
54 assert(opt_secure_file_priv_len <
FN_REFLEN);
55 buff2[opt_secure_file_priv_len] =
'\0';
char * convert_dirname(char *to, const char *from, const char *from_end)
Convert directory name to use under this system.
Definition: mf_dirname.cc:207
size_t dirname_length(const char *name)
Get the string length of the directory part of name, including the last FN_LIBCHAR.
Definition: mf_dirname.cc:62
int my_realpath(char *to, const char *filename, myf MyFlags)
Definition: my_symlink.cc:139
A better implementation of the UNIX ctype(3) library.
int my_strcasecmp(const CHARSET_INFO *cs, const char *s1, const char *s2)
Definition: m_ctype.h:651
MYSQL_PLUGIN_IMPORT CHARSET_INFO * system_charset_info
Definition: mysqld.cc:1566
#define FN_REFLEN
Definition: my_io.h:87
Common header for many mysys elements.
bool lower_case_file_system
Definition: mysqld.cc:1291
const char * opt_secure_file_priv
Definition: mysqld.cc:1288
static char * path
Definition: mysqldump.cc:150
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
#define NullS
Definition of the null string (a null pointer of type char *), used in some of our string handling co...
Definition: nulls.h:33
bool is_secure_file_path(const char *path, const char *opt_secure_file_priv, CHARSET_INFO *system_charset_info, CHARSET_INFO *files_charset_info, bool lower_case_file_system)
Test a file path to determine if the path is compatible with the secure file path restriction.
Definition: secure_file.h:21
MYSQL_PLUGIN_IMPORT CHARSET_INFO * files_charset_info
Definition: mysqld.cc:1566
Definition: m_ctype.h:421
MY_COLLATION_HANDLER * coll
Definition: m_ctype.h:454
int(* strcasecmp)(const CHARSET_INFO *, const char *, const char *)
Definition: m_ctype.h:310