MySQL  8.0.16
Source Code Documentation
mi_test2.cc File Reference
#include <m_ctype.h>
#include <my_bit.h>
#include "my_byteorder.h"
#include "myisamdef.h"
#include "sql/field.h"
#include "mi_extrafunc.h"

Macros

#define STANDARD_LENGTH   37
 
#define MYISAM_KEYS   6
 
#define MAX_PARTS   4
 
#define labs(a)   abs(a)
 

Functions

static void get_options (int argc, char *argv[])
 
static uint rnd (uint max_value)
 
static void fix_length (uchar *record, uint length)
 
static void put_blob_in_record (uchar *blob_pos, char **blob_buffer)
 
static void copy_key (MI_INFO *info, uint inx, uchar *record, uchar *key)
 
int main (int argc, char *argv[])
 
static void get_options (int argc, char **argv)
 

Variables

static int verbose = 0
 
static int testflag = 0
 
static int first_key = 0
 
static int async_io = 0
 
static int key_cacheing = 0
 
static int locking = 0
 
static int rec_pointer_size = 0
 
static int pack_fields = 1
 
static int use_log = 0
 
static int silent = 0
 
static int opt_quick_mode = 0
 
static int pack_seg = HA_SPACE_PACK
 
static int pack_type = HA_PACK_KEY
 
static int remove_count = -1
 
static int create_flag = 0
 
static ulong key_cache_size = IO_SIZE * 16
 
static uint key_cache_block_size = KEY_CACHE_BLOCK_SIZE
 
static uint keys = MYISAM_KEYS
 
static uint recant = 1000
 
static uint use_blob = 0
 
static uint16 key1 [1001]
 
static uint16 key3 [5000]
 
static uchar record [300]
 
static uchar record2 [300]
 
static uchar key [100]
 
static uchar key2 [100]
 
static uchar read_record [300]
 
static uchar read_record2 [300]
 
static uchar read_record3 [300]
 
static HA_KEYSEG glob_keyseg [MYISAM_KEYS][MAX_PARTS]
 

Macro Definition Documentation

◆ labs

#define labs (   a)    abs(a)

◆ MAX_PARTS

#define MAX_PARTS   4

◆ MYISAM_KEYS

#define MYISAM_KEYS   6

◆ STANDARD_LENGTH

#define STANDARD_LENGTH   37

Function Documentation

◆ copy_key()

static void copy_key ( MI_INFO info,
uint  inx,
uchar record,
uchar key 
)
static

◆ fix_length()

static void fix_length ( uchar record,
uint  length 
)
static

◆ get_options() [1/2]

static void get_options ( int  argc,
char *  argv[] 
)
static

◆ get_options() [2/2]

static void get_options ( int  argc,
char **  argv 
)
static

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ put_blob_in_record()

static void put_blob_in_record ( uchar blob_pos,
char **  blob_buffer 
)
static

◆ rnd()

static uint rnd ( uint  max_value)
static

Variable Documentation

◆ async_io

int async_io = 0
static

◆ create_flag

int create_flag = 0
static

◆ first_key

int first_key = 0
static

◆ glob_keyseg

HA_KEYSEG glob_keyseg[MYISAM_KEYS][MAX_PARTS]
static

◆ key

uchar key[100]
static

◆ key1

uint16 key1[1001]
static

◆ key2

uchar key2[100]
static

◆ key3

uint16 key3[5000]
static

◆ key_cache_block_size

uint key_cache_block_size = KEY_CACHE_BLOCK_SIZE
static

◆ key_cache_size

ulong key_cache_size = IO_SIZE * 16
static

◆ key_cacheing

int key_cacheing = 0
static

◆ keys

uint keys = MYISAM_KEYS
static

◆ locking

int locking = 0
static

◆ opt_quick_mode

int opt_quick_mode = 0
static

◆ pack_fields

int pack_fields = 1
static

◆ pack_seg

int pack_seg = HA_SPACE_PACK
static

◆ pack_type

int pack_type = HA_PACK_KEY
static

◆ read_record

uchar read_record[300]
static

◆ read_record2

uchar read_record2[300]
static

◆ read_record3

uchar read_record3[300]
static

◆ rec_pointer_size

int rec_pointer_size = 0
static

◆ recant

uint recant = 1000
static

◆ record

uchar record[300]
static

◆ record2

uchar record2[300]
static

◆ remove_count

int remove_count = -1
static

◆ silent

int silent = 0
static

◆ testflag

int testflag = 0
static

◆ use_blob

uint use_blob = 0
static

◆ use_log

int use_log = 0
static

◆ verbose

int verbose = 0
static