MySQL 9.1.0
Source Code Documentation
hp_test2.cc File Reference
#include "my_config.h"
#include <signal.h>
#include <sys/types.h>
#include <algorithm>
#include "m_string.h"
#include "my_compiler.h"
#include "my_inttypes.h"
#include "my_macros.h"
#include "storage/heap/heapdef.h"

Macros

#define MAX_RECORDS   100000U
 
#define MAX_KEYS   4
 

Functions

static int get_options (int argc, char *argv[])
 
static int rnd (int max_value)
 
static void endprog (int sig_number)
 
static int calc_check (uchar *buf, uint length)
 
static void make_record (uchar *record, uint n1, uint n2, uint n3, const char *mark, uint count)
 
int main (int argc, char *argv[])
 

Variables

static uint flag = 0
 
static uint verbose = 0
 
static uint testflag = 0
 
static uint recant = 10000
 
static uint silent = 0
 
static uint keys = MAX_KEYS
 
static uint16 key1 [1001]
 
static bool key3 [MAX_RECORDS]
 
static int reclength = 39
 

Macro Definition Documentation

◆ MAX_KEYS

#define MAX_KEYS   4

◆ MAX_RECORDS

#define MAX_RECORDS   100000U

Function Documentation

◆ calc_check()

static int calc_check ( uchar buf,
uint  length 
)
static

◆ endprog()

static void endprog ( int  sig_number)
static

◆ get_options()

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

◆ main()

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

◆ make_record()

static void make_record ( uchar record,
uint  n1,
uint  n2,
uint  n3,
const char *  mark,
uint  count 
)
static

◆ rnd()

static int rnd ( int  max_value)
static

Variable Documentation

◆ flag

uint flag = 0
static

◆ key1

uint16 key1[1001]
static

◆ key3

bool key3[MAX_RECORDS]
static

◆ keys

uint keys = MAX_KEYS
static

◆ recant

uint recant = 10000
static

◆ reclength

int reclength = 39
static

◆ silent

uint silent = 0
static

◆ testflag

uint testflag = 0
static

◆ verbose

uint verbose = 0
static