MySQL 8.4.2
Source Code Documentation
|
#include "my_config.h"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <stdarg.h>
#include <stdlib.h>
#include <sys/types.h>
#include <time.h>
#include <bit>
#include "m_string.h"
#include "my_byteorder.h"
#include "my_compiler.h"
#include "my_dbug.h"
#include "my_default.h"
#include "my_getopt.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_macros.h"
#include "my_systime.h"
#include "mysql/strings/int2str.h"
#include "mysql/strings/m_ctype.h"
#include "nulls.h"
#include "print_version.h"
#include "storage/myisam/fulltext.h"
#include "storage/myisam/myisam_sys.h"
#include "storage/myisam/myisamdef.h"
#include "typelib.h"
#include "welcome_copyright_notice.h"
#include <sys/mman.h>
#include "storage/myisam/mi_extrafunc.h"
Functions | |
static void | get_options (int *argc, char ***argv, MEM_ROOT *alloc) |
static void | usage (void) |
static int | myisamchk (MI_CHECK *param, char *filename) |
static void | descript (MI_CHECK *param, MI_INFO *info, char *name) |
static int | mi_sort_records (MI_CHECK *param, MI_INFO *info, char *name, uint sort_key, bool write_info, bool update_index) |
static int | sort_record_index (MI_SORT_PARAM *sort_param, MI_INFO *info, MI_KEYDEF *keyinfo, my_off_t page, uchar *buff, uint sortkey, File new_file, bool update_index) |
st_keycache_thread_var * | keycache_thread_var () |
int | main (int argc, char **argv) |
static bool | get_one_option (int optid, const struct my_option *opt, char *argument) |
volatile int * | killed_ptr (MI_CHECK *param) |
void | mi_check_print_info (MI_CHECK *param, const char *fmt,...) |
void | mi_check_print_warning (MI_CHECK *param, const char *fmt,...) |
void | mi_check_print_error (MI_CHECK *param, const char *fmt,...) |
Variables | |
static uint | decode_bits |
static const char * | load_default_groups [] = {"myisamchk", nullptr} |
static const char * | set_collation_name |
static const char * | opt_tmpdir |
static CHARSET_INFO * | set_collation |
static long | opt_myisam_block_size |
static long | opt_key_cache_block_size |
static const char * | my_progname_short |
static int | stopwords_inited = 0 |
static MY_TMPDIR | myisamchk_tmpdir |
static const char * | type_names [] |
static const char * | prefix_packed_txt = "packed " |
static const char * | bin_packed_txt = "prefix " |
static const char * | diff_txt = "stripped " |
static const char * | null_txt = "NULL" |
static const char * | blob_txt = "BLOB " |
static const char * | field_pack [] |
static const char * | myisam_stats_method_str = "nulls_unequal" |
MI_CHECK | check_param |
static struct my_option | my_long_options [] |
const char * | myisam_stats_method_names [] |
TYPELIB | myisam_stats_method_typelib |
static int | not_killed = 0 |
enum options_mc |
|
static |
|
static |
st_keycache_thread_var * keycache_thread_var | ( | ) |
volatile int * killed_ptr | ( | MI_CHECK * | param | ) |
int main | ( | int | argc, |
char ** | argv | ||
) |
void mi_check_print_error | ( | MI_CHECK * | param, |
const char * | fmt, | ||
... | |||
) |
void mi_check_print_info | ( | MI_CHECK * | param, |
const char * | fmt, | ||
... | |||
) |
void mi_check_print_warning | ( | MI_CHECK * | param, |
const char * | fmt, | ||
... | |||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
MI_CHECK check_param |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const char* myisam_stats_method_names[] |
|
static |
TYPELIB myisam_stats_method_typelib |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |