![]() |
MySQL 8.0.32
Source Code Documentation
|
#include <sys/types.h>
#include "my_byteorder.h"
#include "myisam.h"
#include <sys/wait.h>
#include "mi_extrafunc.h"
Classes | |
struct | record |
Macros | |
#define | WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
#define | WIFEXITED(stat_val) (((stat_val)&255) == 0) |
#define | rnd(X) (lrand48() % X) |
#define | rnd_init(X) srand48(X) |
Functions | |
static void | get_options (int argc, char *argv[]) |
void | start_test (int id) |
int | test_read (MI_INFO *, int) |
int | test_write (MI_INFO *, int, int) |
int | test_update (MI_INFO *, int, int) |
int | test_rrnd (MI_INFO *, int) |
int | main (int argc, char **argv) |
static void | get_options (int argc, char **argv) |
Variables | |
const char * | filename = "test3" |
uint | tests = 10 |
uint | forks = 10 |
uint | key_cacheing = 0 |
uint | use_log = 0 |
struct record | record |
#define WEXITSTATUS | ( | stat_val | ) | ((unsigned)(stat_val) >> 8) |
#define WIFEXITED | ( | stat_val | ) | (((stat_val)&255) == 0) |
|
static |
|
static |
int main | ( | int | argc, |
char ** | argv | ||
) |
void start_test | ( | int | id | ) |
int test_read | ( | MI_INFO * | file, |
int | id | ||
) |
int test_rrnd | ( | MI_INFO * | file, |
int | id | ||
) |
int test_update | ( | MI_INFO * | file, |
int | id, | ||
int | lock_type | ||
) |
int test_write | ( | MI_INFO * | file, |
int | id, | ||
int | lock_type | ||
) |
const char* filename = "test3" |
uint forks = 10 |
uint key_cacheing = 0 |
uint tests = 10 |
uint use_log = 0 |