MySQL 9.1.0
Source Code Documentation
sp_key.cc File Reference
#include <assert.h>
#include <sys/types.h>
#include <cfloat>
#include <cmath>
#include "my_byteorder.h"
#include "my_compiler.h"
#include "my_inttypes.h"
#include "storage/myisam/myisamdef.h"
#include "storage/myisam/sp_defs.h"

Functions

static int sp_add_point_to_mbr (uchar *(*wkb), uchar *end, uint n_dims, uchar byte_order, double *mbr)
 
static int sp_get_point_mbr (uchar *(*wkb), uchar *end, uint n_dims, uchar byte_order, double *mbr)
 
static int sp_get_linestring_mbr (uchar *(*wkb), uchar *end, uint n_dims, uchar byte_order, double *mbr)
 
static int sp_get_polygon_mbr (uchar *(*wkb), uchar *end, uint n_dims, uchar byte_order, double *mbr)
 
static int sp_get_geometry_mbr (uchar *(*wkb), uchar *end, uint n_dims, double *mbr, int top)
 
static int sp_mbr_from_wkb (uchar(*wkb), uint size, uint n_dims, double *mbr)
 
uint sp_make_key (MI_INFO *info, uint keynr, uchar *key, const uchar *record, my_off_t filepos)
 

Function Documentation

◆ sp_add_point_to_mbr()

static int sp_add_point_to_mbr ( uchar **  wkb,
uchar end,
uint  n_dims,
uchar  byte_order,
double *  mbr 
)
static

◆ sp_get_geometry_mbr()

static int sp_get_geometry_mbr ( uchar **  wkb,
uchar end,
uint  n_dims,
double *  mbr,
int  top 
)
static

◆ sp_get_linestring_mbr()

static int sp_get_linestring_mbr ( uchar **  wkb,
uchar end,
uint  n_dims,
uchar  byte_order,
double *  mbr 
)
static

◆ sp_get_point_mbr()

static int sp_get_point_mbr ( uchar **  wkb,
uchar end,
uint  n_dims,
uchar  byte_order,
double *  mbr 
)
static

◆ sp_get_polygon_mbr()

static int sp_get_polygon_mbr ( uchar **  wkb,
uchar end,
uint  n_dims,
uchar  byte_order,
double *  mbr 
)
static

◆ sp_make_key()

uint sp_make_key ( MI_INFO info,
uint  keynr,
uchar key,
const uchar record,
my_off_t  filepos 
)

◆ sp_mbr_from_wkb()

static int sp_mbr_from_wkb ( uchar wkb,
uint  size,
uint  n_dims,
double *  mbr 
)
static