组合类型 |
struct | wild_file_pack |
struct | st_record_cache |
struct | st_my_file_info |
struct | st_dynamic_array |
struct | st_my_tmpdir |
struct | st_dynamic_string |
struct | st_io_cache |
struct | my_rnd_struct |
宏定义 |
#define | MYSYS_PROGRAM_DONT_USE_CURSES() { error_handler_hook = my_message_no_curses; mysys_uses_curses=0;} |
#define | MY_INIT(name) ; { my_progname= name; my_init(); } |
#define | MYSYS_ERRMSG_SIZE (512) |
#define | MY_FILE_ERROR ((size_t) -1) |
#define | MY_FFNF 1 |
#define | MY_FNABP 2 |
#define | MY_NABP 4 |
#define | MY_FAE 8 |
#define | MY_WME 16 |
#define | MY_WAIT_IF_FULL 32 |
#define | MY_IGNORE_BADFD 32 |
#define | MY_SYNC_DIR 1024 |
#define | MY_RAID 64 |
#define | MY_FULL_IO 512 |
#define | MY_DONT_CHECK_FILESIZE 128 |
#define | MY_LINK_WARNING 32 |
#define | MY_COPYTIME 64 |
#define | MY_DELETE_OLD 256 |
#define | MY_RESOLVE_LINK 128 |
#define | MY_HOLD_ORIGINAL_MODES 128 |
#define | MY_REDEL_MAKE_BACKUP 256 |
#define | MY_SEEK_NOT_DONE 32 |
#define | MY_SHORT_WAIT 64 |
#define | MY_FORCE_LOCK 128 |
#define | MY_NO_WAIT 256 |
#define | MY_ZEROFILL 32 |
#define | MY_ALLOW_ZERO_PTR 64 |
#define | MY_FREE_ON_ERROR 128 |
#define | MY_HOLD_ON_ERROR 256 |
#define | MY_DONT_OVERWRITE_FILE 2048 |
#define | MY_THREADSAFE 2048 |
#define | MY_CHECK_ERROR 1 |
#define | MY_GIVE_INFO 2 |
#define | MY_DONT_FREE_DBUG 4 |
#define | MY_REMOVE_NONE 0 |
#define | MY_REMOVE_OPTION 1 |
#define | MY_REMOVE_SECTION 2 |
#define | ME_HIGHBYTE 8 |
#define | ME_NOCUR 1 |
#define | ME_OLDWIN 2 |
#define | ME_BELL 4 |
#define | ME_HOLDTANG 8 |
#define | ME_WAITTOT 16 |
#define | ME_WAITTANG 32 |
#define | ME_NOREFRESH 64 |
#define | ME_NOINPUT 128 |
#define | ME_COLOUR1 ((1 << ME_HIGHBYTE)) |
#define | ME_COLOUR2 ((2 << ME_HIGHBYTE)) |
#define | ME_COLOUR3 ((3 << ME_HIGHBYTE)) |
#define | ME_FATALERROR 1024 |
#define | ME_JUST_INFO 8192 |
#define | ME_JUST_WARNING 16384 |
#define | MY_REPLACE_DIR 1 |
#define | MY_REPLACE_EXT 2 |
#define | MY_UNPACK_FILENAME 4 |
#define | MY_PACK_FILENAME 8 |
#define | MY_RESOLVE_SYMLINKS 16 |
#define | MY_RETURN_REAL_PATH 32 |
#define | MY_SAFE_PATH 64 |
#define | MY_RELATIVE_PATH 128 |
#define | MY_APPEND_EXT 256 |
#define | MY_SEEK_SET 0 |
#define | MY_SEEK_CUR 1 |
#define | MY_SEEK_END 2 |
#define | MY_WAIT_FOR_USER_TO_FIX_PANIC 60 |
#define | MY_WAIT_GIVE_USER_A_MESSAGE 10 |
#define | MIN_COMPRESS_LENGTH 50 |
#define | DFLT_INIT_HITS 3 |
#define | MY_KEEP_PREALLOC 1 |
#define | MY_MARK_BLOCKS_FREE 2 |
#define | MY_ERRNO_EDOM 33 |
#define | MY_ERRNO_ERANGE 34 |
#define | GETDATE_DATE_TIME 1 |
#define | GETDATE_SHORT_DATE 2 |
#define | GETDATE_HHMMSSTIME 4 |
#define | GETDATE_GMT 8 |
#define | GETDATE_FIXEDLENGTH 16 |
#define | my_checkmalloc() |
#define | TERMINATE(A, B) {} |
#define | QUICK_SAFEMALLOC |
#define | NORMAL_SAFEMALLOC |
#define | my_malloc_ci(SZ, FLAG) my_malloc( SZ, FLAG ) |
#define | my_free(PTR, FG) ((void)FG,my_no_flags_free(PTR)) |
#define | CALLER_INFO_PROTO |
#define | CALLER_INFO |
#define | ORIG_CALLER_INFO |
#define | my_get_large_page_size() (0) |
#define | my_large_malloc(A, B) my_malloc_lock((A),(B)) |
#define | my_large_free(A, B) my_free_lock((A),(B)) |
#define | my_alloca(SZ) my_malloc(SZ,MYF(0)) |
#define | my_afree(PTR) my_free(PTR,MYF(MY_WME)) |
#define | DEBUG_SYNC_C(_sync_point_name_) |
#define | MY_ALL_CHARSETS_SIZE 2048 |
#define | my_b_clear(info) (info)->buffer=0 |
#define | my_b_inited(info) (info)->buffer |
#define | my_b_EOF INT_MIN |
#define | my_b_read(info, Buffer, Count) |
#define | my_b_write(info, Buffer, Count) |
#define | my_b_get(info) |
#define | my_b_write_byte(info, chr) |
#define | my_b_fill_cache(info) (((info)->read_end=(info)->read_pos),(*(info)->read_function)(info,0,0)) |
#define | my_b_tell(info) |
#define | my_b_get_buffer_start(info) (info)->request_pos |
#define | my_b_get_bytes_in_buffer(info) |
#define | my_b_get_pos_in_file(info) (info)->pos_in_file |
#define | my_b_bytes_in_cache(info) |
#define | my_access access |
#define | my_delete_allow_opened(fname, flags) my_delete((fname),(flags)) |
#define | my_print_open_files() |
#define | base_name(A) (A+dirname_length(A)) |
#define | flush_io_cache(info) my_b_flush_io_cache((info),1) |
#define | my_init_dynamic_array(A, B, C, D) init_dynamic_array2(A,B,NULL,C,D CALLER_INFO) |
#define | my_init_dynamic_array_ci(A, B, C, D) init_dynamic_array2(A,B,NULL,C,D ORIG_CALLER_INFO) |
#define | my_init_dynamic_array2(A, B, C, D, E) init_dynamic_array2(A,B,C,D,E CALLER_INFO) |
#define | my_init_dynamic_array2_ci(A, B, C, D, E) init_dynamic_array2(A,B,C,D,E ORIG_CALLER_INFO) |
#define | dynamic_array_ptr(array, array_index) ((array)->buffer+(array_index)*(array)->size_of_element) |
#define | dynamic_element(array, array_index, type) ((type)((array)->buffer) +(array_index)) |
#define | push_dynamic(A, B) insert_dynamic((A),(B)) |
#define | reset_dynamic(array) ((array)->elements= 0) |
#define | sort_dynamic(A, cmp) my_qsort((A)->buffer, (A)->elements, (A)->size_of_element, (cmp)) |
#define | my_malloc_lock(A, B) my_malloc((A),(B)) |
#define | my_free_lock(A, B) my_free((A),(B)) |
#define | alloc_root_inited(A) ((A)->min_malloc != 0) |
#define | ALLOC_ROOT_MIN_BLOCK_SIZE (MALLOC_OVERHEAD + sizeof(USED_MEM) + 8) |
#define | clear_alloc_root(A) do { (A)->free= (A)->used= (A)->pre_alloc= 0; (A)->min_malloc=0;} while(0) |
#define | PROT_READ 1 |
#define | PROT_WRITE 2 |
#define | MAP_NORESERVE 0 |
#define | MAP_SHARED 0x0001 |
#define | MAP_PRIVATE 0x0002 |
#define | MAP_NOSYNC 0x0800 |
#define | MAP_FAILED ((void *)-1) |
#define | MS_SYNC 0x0000 |
#define | HAVE_MMAP |
#define | MY_UUID_SIZE 16 |
#define | MY_UUID_STRING_LENGTH (8+1+4+1+4+1+4+1+12) |
类型定义 |
typedef struct wild_file_pack | WF_PACK |
typedef struct st_record_cache | RECORD_CACHE |
typedef struct st_dynamic_array | DYNAMIC_ARRAY |
typedef struct st_my_tmpdir | MY_TMPDIR |
typedef struct st_dynamic_string | DYNAMIC_STRING |
typedef int(* | IO_CACHE_CALLBACK )(struct st_io_cache *cache, const uchar *buffert, uint length, my_off_t filepos) |
typedef struct st_io_cache | IO_CACHE |
typedef int(* | qsort2_cmp )(const void *, const void *, const void *) |
typedef uint32 | ha_checksum |
typedef int(* | Process_option_func )(void *ctx, const char *group_name, const char *option) |
枚举 |
enum | loglevel { ERROR_LEVEL,
WARNING_LEVEL,
INFORMATION_LEVEL
} |
enum | cache_type {
TYPE_NOT_SET = 0,
READ_CACHE,
WRITE_CACHE,
SEQ_READ_APPEND,
READ_FIFO,
READ_NET,
WRITE_NET
} |
enum | flush_type {
FLUSH_KEEP,
FLUSH_RELEASE,
FLUSH_IGNORE_CHANGED,
FLUSH_FORCE_WRITE,
FLUSH_KEEP_LAZY
} |
enum | file_type {
UNOPEN = 0,
FILE_BY_OPEN,
FILE_BY_CREATE,
STREAM_BY_FOPEN,
STREAM_BY_FDOPEN,
FILE_BY_MKSTEMP,
FILE_BY_DUP
} |
函数 |
void * | my_malloc (size_t Size, myf MyFlags) |
void * | my_realloc (void *oldpoint, size_t Size, myf MyFlags) |
void | my_no_flags_free (void *ptr) |
void * | my_memdup (const void *from, size_t length, myf MyFlags) |
char * | my_strdup (const char *from, myf MyFlags) |
char * | my_strndup (const char *from, size_t length, myf MyFlags) |
| IF_DBUG (extern int my_malloc_error_inject) |
int | my_b_copy_to_file (IO_CACHE *cache, FILE *file) |
my_off_t | my_b_append_tell (IO_CACHE *info) |
my_off_t | my_b_safe_tell (IO_CACHE *info) |
int | my_copy (const char *from, const char *to, myf MyFlags) |
int | my_append (const char *from, const char *to, myf MyFlags) |
int | my_delete (const char *name, myf MyFlags) |
int | my_getwd (char *buf, size_t size, myf MyFlags) |
int | my_setwd (const char *dir, myf MyFlags) |
int | my_lock (File fd, int op, my_off_t start, my_off_t length, myf MyFlags) |
void * | my_once_alloc (size_t Size, myf MyFlags) |
void | my_once_free (void) |
char * | my_once_strdup (const char *src, myf myflags) |
void * | my_once_memdup (const void *src, size_t len, myf myflags) |
File | my_open (const char *FileName, int Flags, myf MyFlags) |
File | my_register_filename (File fd, const char *FileName, enum file_type type_of_file, uint error_message_number, myf MyFlags) |
File | my_create (const char *FileName, int CreateFlags, int AccessFlags, myf MyFlags) |
int | my_close (File Filedes, myf MyFlags) |
File | my_dup (File file, myf MyFlags) |
int | my_mkdir (const char *dir, int Flags, myf MyFlags) |
int | my_readlink (char *to, const char *filename, myf MyFlags) |
int | my_is_symlink (const char *filename) |
int | my_realpath (char *to, const char *filename, myf MyFlags) |
File | my_create_with_symlink (const char *linkname, const char *filename, int createflags, int access_flags, myf MyFlags) |
int | my_delete_with_symlink (const char *name, myf MyFlags) |
int | my_rename_with_symlink (const char *from, const char *to, myf MyFlags) |
int | my_symlink (const char *content, const char *linkname, myf MyFlags) |
size_t | my_read (File Filedes, uchar *Buffer, size_t Count, myf MyFlags) |
size_t | my_pread (File Filedes, uchar *Buffer, size_t Count, my_off_t offset, myf MyFlags) |
int | my_rename (const char *from, const char *to, myf MyFlags) |
my_off_t | my_seek (File fd, my_off_t pos, int whence, myf MyFlags) |
my_off_t | my_tell (File fd, myf MyFlags) |
size_t | my_write (File Filedes, const uchar *Buffer, size_t Count, myf MyFlags) |
size_t | my_pwrite (File Filedes, const uchar *Buffer, size_t Count, my_off_t offset, myf MyFlags) |
size_t | my_fread (FILE *stream, uchar *Buffer, size_t Count, myf MyFlags) |
size_t | my_fwrite (FILE *stream, const uchar *Buffer, size_t Count, myf MyFlags) |
my_off_t | my_fseek (FILE *stream, my_off_t pos, int whence, myf MyFlags) |
my_off_t | my_ftell (FILE *stream, myf MyFlags) |
void * | _mymalloc (size_t uSize, const char *sFile, uint uLine, myf MyFlag) |
void * | _myrealloc (void *pPtr, size_t uSize, const char *sFile, uint uLine, myf MyFlag) |
void *my_multi_malloc | _VARARGS ((myf MyFlags,...)) |
void | _myfree (void *pPtr, const char *sFile, uint uLine, myf MyFlag) |
int | _sanity (const char *sFile, uint uLine) |
void * | _my_memdup (const void *from, size_t length, const char *sFile, uint uLine, myf MyFlag) |
char * | _my_strdup (const char *from, const char *sFile, uint uLine, myf MyFlag) |
char * | _my_strndup (const char *from, size_t length, const char *sFile, uint uLine, myf MyFlag) |
void * | my_memmem (const void *haystack, size_t haystacklen, const void *needle, size_t needlelen) |
int | check_if_legal_filename (const char *path) |
int | check_if_legal_tablename (const char *path) |
void | init_glob_errs (void) |
void | wait_for_free_space (const char *filename, int errors) |
FILE * | my_fopen (const char *FileName, int Flags, myf MyFlags) |
FILE * | my_fdopen (File Filedes, const char *name, int Flags, myf MyFlags) |
int | my_fclose (FILE *fd, myf MyFlags) |
File | my_fileno (FILE *fd) |
int | my_chsize (File fd, my_off_t newlength, int filler, myf MyFlags) |
int | my_chmod (const char *name, mode_t mode, myf my_flags) |
int | my_sync (File fd, myf my_flags) |
int | my_sync_dir (const char *dir_name, myf my_flags) |
int | my_sync_dir_by_file (const char *file_name, myf my_flags) |
void my_error | _VARARGS ((int nr, myf MyFlags,...)) |
void my_printf_error | _VARARGS ((uint my_err, const char *format, myf MyFlags,...)) ATTRIBUTE_FORMAT(printf |
void my_printf_error void | my_printv_error (uint error, const char *format, myf MyFlags, va_list ap) |
int | my_error_register (const char **errmsgs, int first, int last) |
const char ** | my_error_unregister (int first, int last) |
void | my_message (uint my_err, const char *str, myf MyFlags) |
void | my_message_no_curses (uint my_err, const char *str, myf MyFlags) |
my_bool | my_init (void) |
void | my_end (int infoflag) |
int | my_redel (const char *from, const char *to, int MyFlags) |
int | my_copystat (const char *from, const char *to, int MyFlags) |
char * | my_filename (File fd) |
void | dont_break (void) |
void | allow_break (void) |
my_bool | init_tmpdir (MY_TMPDIR *tmpdir, const char *pathlist) |
char * | my_tmpdir (MY_TMPDIR *tmpdir) |
void | free_tmpdir (MY_TMPDIR *tmpdir) |
void | my_remember_signal (int signal_number, sig_handler(*func)(int)) |
size_t | dirname_part (char *to, const char *name, size_t *to_res_length) |
size_t | dirname_length (const char *name) |
int | test_if_hard_path (const char *dir_name) |
my_bool | has_path (const char *name) |
char * | convert_dirname (char *to, const char *from, const char *from_end) |
void | to_unix_path (char *name) |
char * | fn_ext (const char *name) |
char * | fn_same (char *toname, const char *name, int flag) |
char * | fn_format (char *to, const char *name, const char *dir, const char *form, uint flag) |
size_t | strlength (const char *str) |
void | pack_dirname (char *to, const char *from) |
size_t | normalize_dirname (char *to, const char *from) |
size_t | unpack_dirname (char *to, const char *from) |
size_t | cleanup_dirname (char *to, const char *from) |
size_t | system_filename (char *to, const char *from) |
size_t | unpack_filename (char *to, const char *from) |
char * | intern_filename (char *to, const char *from) |
char * | directory_file_name (char *dst, const char *src) |
int | pack_filename (char *to, const char *name, size_t max_length) |
char * | my_path (char *to, const char *progname, const char *own_pathname_part) |
char * | my_load_path (char *to, const char *path, const char *own_path_prefix) |
int | wild_compare (const char *str, const char *wildstr, pbool str_is_pattern) |
WF_PACK * | wf_comp (char *str) |
int | wf_test (struct wild_file_pack *wf_pack, const char *name) |
void | wf_end (struct wild_file_pack *buffer) |
size_t | strip_sp (char *str) |
my_bool | array_append_string_unique (const char *str, const char **array, size_t size) |
void | get_date (char *to, int timeflag, time_t use_time) |
void | soundex (CHARSET_INFO *, char *out_pntr, char *in_pntr, pbool remove_garbage) |
int | init_record_cache (RECORD_CACHE *info, size_t cachesize, File file, size_t reclength, enum cache_type type, pbool use_async_io) |
int | read_cache_record (RECORD_CACHE *info, uchar *to) |
int | end_record_cache (RECORD_CACHE *info) |
int | write_cache_record (RECORD_CACHE *info, my_off_t filepos, const uchar *record, size_t length) |
int | flush_write_cache (RECORD_CACHE *info) |
long | my_clock (void) |
sig_handler | sigtstp_handler (int signal_number) |
void | handle_recived_signals (void) |
sig_handler | my_set_alarm_variable (int signo) |
void | my_string_ptr_sort (uchar *base, uint items, size_t size) |
void | radixsort_for_str_ptr (uchar *base[], uint number_of_elements, size_t size_of_element, uchar *buffer[]) |
qsort_t | my_qsort (void *base_ptr, size_t total_elems, size_t size, qsort_cmp cmp) |
qsort_t | my_qsort2 (void *base_ptr, size_t total_elems, size_t size, qsort2_cmp cmp, void *cmp_argument) |
qsort2_cmp | get_ptr_compare (size_t) |
void | my_store_ptr (uchar *buff, size_t pack_length, my_off_t pos) |
my_off_t | my_get_ptr (uchar *ptr, size_t pack_length) |
int | init_io_cache (IO_CACHE *info, File file, size_t cachesize, enum cache_type type, my_off_t seek_offset, pbool use_async_io, myf cache_myflags) |
my_bool | reinit_io_cache (IO_CACHE *info, enum cache_type type, my_off_t seek_offset, pbool use_async_io, pbool clear_cache) |
void | setup_io_cache (IO_CACHE *info) |
int | _my_b_read (IO_CACHE *info, uchar *Buffer, size_t Count) |
int | _my_b_seq_read (IO_CACHE *info, uchar *Buffer, size_t Count) |
int | _my_b_net_read (IO_CACHE *info, uchar *Buffer, size_t Count) |
int | _my_b_get (IO_CACHE *info) |
int | _my_b_async_read (IO_CACHE *info, uchar *Buffer, size_t Count) |
int | _my_b_write (IO_CACHE *info, const uchar *Buffer, size_t Count) |
int | my_b_append (IO_CACHE *info, const uchar *Buffer, size_t Count) |
int | my_b_safe_write (IO_CACHE *info, const uchar *Buffer, size_t Count) |
int | my_block_write (IO_CACHE *info, const uchar *Buffer, size_t Count, my_off_t pos) |
int | my_b_flush_io_cache (IO_CACHE *info, int need_append_buffer_lock) |
int | end_io_cache (IO_CACHE *info) |
size_t | my_b_fill (IO_CACHE *info) |
void | my_b_seek (IO_CACHE *info, my_off_t pos) |
size_t | my_b_gets (IO_CACHE *info, char *to, size_t max_length) |
my_off_t | my_b_filelength (IO_CACHE *info) |
size_t | my_b_printf (IO_CACHE *info, const char *fmt,...) |
size_t | my_b_vprintf (IO_CACHE *info, const char *fmt, va_list ap) |
my_bool | open_cached_file (IO_CACHE *cache, const char *dir, const char *prefix, size_t cache_size, myf cache_myflags) |
my_bool | real_open_cached_file (IO_CACHE *cache) |
void | close_cached_file (IO_CACHE *cache) |
File | create_temp_file (char *to, const char *dir, const char *pfx, int mode, myf MyFlags) |
my_bool | init_dynamic_array2 (DYNAMIC_ARRAY *array, uint element_size, void *init_buffer, uint init_alloc, uint alloc_increment CALLER_INFO_PROTO) |
my_bool | init_dynamic_array (DYNAMIC_ARRAY *array, uint element_size, uint init_alloc, uint alloc_increment CALLER_INFO_PROTO) |
my_bool | insert_dynamic (DYNAMIC_ARRAY *array, const uchar *element) |
uchar * | alloc_dynamic (DYNAMIC_ARRAY *array) |
uchar * | pop_dynamic (DYNAMIC_ARRAY *) |
my_bool | set_dynamic (DYNAMIC_ARRAY *array, uchar *element, uint array_index) |
my_bool | allocate_dynamic (DYNAMIC_ARRAY *array, uint max_elements) |
void | get_dynamic (DYNAMIC_ARRAY *array, uchar *element, uint array_index) |
void | delete_dynamic (DYNAMIC_ARRAY *array) |
void | delete_dynamic_element (DYNAMIC_ARRAY *array, uint array_index) |
void | freeze_size (DYNAMIC_ARRAY *array) |
int | get_index_dynamic (DYNAMIC_ARRAY *array, uchar *element) |
my_bool | init_dynamic_string (DYNAMIC_STRING *str, const char *init_str, size_t init_alloc, size_t alloc_increment) |
my_bool | dynstr_append (DYNAMIC_STRING *str, const char *append) |
my_bool | dynstr_append_mem (DYNAMIC_STRING *str, const char *append, size_t length) |
my_bool | dynstr_append_os_quoted (DYNAMIC_STRING *str, const char *append,...) |
my_bool | dynstr_set (DYNAMIC_STRING *str, const char *init_str) |
my_bool | dynstr_realloc (DYNAMIC_STRING *str, size_t additional_size) |
my_bool | dynstr_trunc (DYNAMIC_STRING *str, size_t n) |
void | dynstr_free (DYNAMIC_STRING *str) |
void | init_alloc_root (MEM_ROOT *mem_root, size_t block_size, size_t pre_alloc_size) |
void * | alloc_root (MEM_ROOT *mem_root, size_t Size) |
void * | multi_alloc_root (MEM_ROOT *mem_root,...) |
void | free_root (MEM_ROOT *root, myf MyFLAGS) |
void | set_prealloc_root (MEM_ROOT *root, char *ptr) |
void | reset_root_defaults (MEM_ROOT *mem_root, size_t block_size, size_t prealloc_size) |
char * | strdup_root (MEM_ROOT *root, const char *str) |
char * | strmake_root (MEM_ROOT *root, const char *str, size_t len) |
void * | memdup_root (MEM_ROOT *root, const void *str, size_t len) |
int | get_defaults_options (int argc, char **argv, char **defaults, char **extra_defaults, char **group_suffix) |
int | my_load_defaults (const char *conf_file, const char **groups, int *argc, char ***argv, const char ***) |
int | load_defaults (const char *conf_file, const char **groups, int *argc, char ***argv) |
int | modify_defaults_file (const char *file_location, const char *option, const char *option_value, const char *section_name, int remove_option) |
int | my_search_option_files (const char *conf_file, int *argc, char ***argv, uint *args_used, Process_option_func func, void *func_ctx, const char **default_directories) |
void | free_defaults (char **argv) |
void | my_print_default_files (const char *conf_file) |
void | print_defaults (const char *conf_file, const char **groups) |
my_bool | my_compress (uchar *, size_t *, size_t *) |
my_bool | my_uncompress (uchar *, size_t, size_t *) |
uchar * | my_compress_alloc (const uchar *packet, size_t *len, size_t *complen) |
int | packfrm (uchar *, size_t, uchar **, size_t *) |
int | unpackfrm (uchar **, size_t *, const uchar *) |
ha_checksum | my_checksum (ha_checksum crc, const uchar *mem, size_t count) |
void | my_debug_put_break_here (void) |
void | my_sleep (ulong m_seconds) |
ulong | crc32 (ulong crc, const uchar *buf, uint len) |
uint | my_set_max_open_files (uint files) |
void | my_free_open_file_info (void) |
time_t | my_time (myf flags) |
ulonglong | my_getsystime (void) |
ulonglong | my_micro_time () |
ulonglong | my_micro_time_and_time (time_t *time_arg) |
time_t | my_time_possible_from_micro (ulonglong microtime) |
my_bool | my_gethwaddr (uchar *to) |
int | my_getncpus () |
void * | my_mmap (void *, size_t, int, int, int, my_off_t) |
int | my_munmap (void *, size_t) |
int | my_getpagesize (void) |
int | my_msync (int, void *, size_t, int) |
void | my_uuid_init (ulong seed1, ulong seed2) |
void | my_uuid (uchar *guid) |
void | my_uuid2str (const uchar *guid, char *s) |
void | my_uuid_end () |
void | my_rnd_init (struct my_rnd_struct *rand_st, ulong seed1, ulong seed2) |
double | my_rnd (struct my_rnd_struct *rand_st) |
uint | get_charset_number (const char *cs_name, uint cs_flags) |
uint | get_collation_number (const char *name) |
const char * | get_charset_name (uint cs_number) |
CHARSET_INFO * | get_charset (uint cs_number, myf flags) |
CHARSET_INFO * | get_charset_by_name (const char *cs_name, myf flags) |
CHARSET_INFO * | get_charset_by_csname (const char *cs_name, uint cs_flags, myf my_flags) |
my_bool | resolve_charset (const char *cs_name, CHARSET_INFO *default_cs, CHARSET_INFO **cs) |
my_bool | resolve_collation (const char *cl_name, CHARSET_INFO *default_cl, CHARSET_INFO **cl) |
void | free_charsets (void) |
char * | get_charsets_dir (char *buf) |
my_bool | my_charset_same (CHARSET_INFO *cs1, CHARSET_INFO *cs2) |
my_bool | init_compiled_charsets (myf flags) |
void | add_compiled_collation (CHARSET_INFO *cs) |
size_t | escape_string_for_mysql (CHARSET_INFO *charset_info, char *to, size_t to_length, const char *from, size_t length) |
size_t | escape_quotes_for_mysql (CHARSET_INFO *charset_info, char *to, size_t to_length, const char *from, size_t length) |
void | thd_increment_bytes_sent (ulong length) |
void | thd_increment_bytes_received (ulong length) |
void | thd_increment_net_big_packet_count (ulong length) |
变量 |
C_MODE_START int NEAR | my_errno |
int | errno |
char * | home_dir |
const char * | my_progname |
const char * | my_progname_short |
char NEAR | curr_dir [] |
void(* | error_handler_hook )(uint my_err, const char *str, myf MyFlags) |
void(* | fatal_error_handler_hook )(uint my_err, const char *str, myf MyFlags) |
uint | my_file_limit |
ulong | my_thread_stack_size |
const char *(* | proc_info_hook )(void *, const char *, const char *, const char *, const unsigned int) |
MYSQL_PLUGIN_IMPORT CHARSET_INFO * | default_charset_info |
MYSQL_PLUGIN_IMPORT CHARSET_INFO * | all_charsets [MY_ALL_CHARSETS_SIZE] |
CHARSET_INFO | compiled_charsets [] |
ulong | my_file_opened |
ulong | my_stream_opened |
ulong | my_tmp_file_created |
ulong | my_file_total_opened |
uint | mysys_usage_id |
my_bool | my_init_done |
void(* | my_sigtstp_cleanup )(void) |
void(*)(*) | my_sigtstp_restart (void) |
void(*)(*)(*) | my_abort_hook (int) |
MYSQL_PLUGIN_IMPORT int NEAR | my_umask |
int NEAR | my_umask_dir |
int NEAR NEAR | my_recived_signals |
int NEAR NEAR NEAR | my_safe_to_handle_signal |
int NEAR NEAR NEAR NEAR | my_dont_interrupt |
my_bool NEAR | mysys_uses_curses |
my_bool NEAR | my_use_symdir |
size_t | sf_malloc_cur_memory |
size_t | sf_malloc_max_memory |
ulong | my_default_record_cache_size |
my_bool NEAR | my_disable_locking |
my_bool NEAR NEAR | my_disable_async_io |
my_bool NEAR NEAR NEAR | my_disable_flush_key_blocks |
my_bool NEAR NEAR NEAR NEAR | my_disable_symlinks |
char | wild_many |
char | wild_one |
char | wild_prefix |
const char * | charsets_dir |
char * | my_defaults_extra_file |
const char * | my_defaults_group_suffix |
const char * | my_defaults_file |
my_bool | timed_mutexes |
struct st_my_file_info * | my_file_info |
ha_checksum | my_crc_dbug_check |
const char * | args_separator |