MySQL 8.0.29
Source Code Documentation
rt_test.cc File Reference
#include "myisam.h"
#include "rt_index.h"
#include "mi_extrafunc.h"

Macros

#define MAX_REC_LENGTH   1024
 
#define ndims   2
 
#define KEYALG   HA_KEY_ALG_RTREE
 

Functions

static int read_with_pos (MI_INFO *file, int silent)
 
static void create_record (uchar *record, uint rownr)
 
static void create_record1 (uchar *record, uint rownr)
 
static void print_record (uchar *record, my_off_t offs, const char *tail)
 
static int run_test (const char *filename)
 
int main (int argc, char *argv[])
 

Variables

static double rt_data []
 

Macro Definition Documentation

◆ KEYALG

#define KEYALG   HA_KEY_ALG_RTREE

◆ MAX_REC_LENGTH

#define MAX_REC_LENGTH   1024

◆ ndims

#define ndims   2

Function Documentation

◆ create_record()

static void create_record ( uchar record,
uint  rownr 
)
static

◆ create_record1()

static void create_record1 ( uchar record,
uint  rownr 
)
static

◆ main()

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

◆ print_record()

static void print_record ( uchar record,
my_off_t  offs,
const char *  tail 
)
static

◆ read_with_pos()

static int read_with_pos ( MI_INFO file,
int  silent 
)
static

◆ run_test()

static int run_test ( const char *  filename)
static

Variable Documentation

◆ rt_data

double rt_data[]
static