#include "my_base.h"
#include "m_ctype.h"
#include "myisampack.h"
Ir al código fuente de este archivo.
Clases |
struct | st_HA_KEYSEG |
'defines' |
#define | get_key_length(length, key) |
#define | get_key_length_rdonly(length, key) |
#define | get_key_pack_length(length, length_pack, key) |
#define | store_key_length_inc(key, length) |
#define | get_rec_bits(bit_ptr, bit_ofs, bit_len) |
#define | set_rec_bits(bits, bit_ptr, bit_ofs, bit_len) |
#define | clr_rec_bits(bit_ptr, bit_ofs, bit_len) set_rec_bits(0, bit_ptr, bit_ofs, bit_len) |
'typedefs' |
typedef struct st_HA_KEYSEG | HA_KEYSEG |
Funciones |
int | mi_compare_text (CHARSET_INFO *, uchar *, uint, uchar *, uint, my_bool, my_bool) |
int | ha_key_cmp (register HA_KEYSEG *keyseg, register uchar *a, register uchar *b, uint key_length, uint nextflag, uint *diff_pos) |
HA_KEYSEG * | ha_find_null (HA_KEYSEG *keyseg, uchar *a) |
Documentación de los 'defines'
#define clr_rec_bits |
( |
|
bit_ptr, |
|
|
|
bit_ofs, |
|
|
|
bit_len |
|
) |
| set_rec_bits(0, bit_ptr, bit_ofs, bit_len) |
#define get_key_length_rdonly |
( |
|
length, |
|
|
|
key |
|
) |
| |
#define get_key_pack_length |
( |
|
length, |
|
|
|
length_pack, |
|
|
|
key |
|
) |
| |
#define get_rec_bits |
( |
|
bit_ptr, |
|
|
|
bit_ofs, |
|
|
|
bit_len |
|
) |
| |
Valor:(((((uint16) (bit_ptr)[1] << 8) | (uint16) (bit_ptr)[0]) >> (bit_ofs)) & \
((1 << (bit_len)) - 1))
#define set_rec_bits |
( |
|
bits, |
|
|
|
bit_ptr, |
|
|
|
bit_ofs, |
|
|
|
bit_len |
|
) |
| |
Valor:{ \
(bit_ptr)[0]= ((bit_ptr)[0] & ~(((1 << (bit_len)) - 1) << (bit_ofs))) | \
((bits) << (bit_ofs)); \
if ((bit_ofs) + (bit_len) > 8) \
(bit_ptr)[1]= ((bit_ptr)[1] & ~((1 << ((bit_len) - 8 + (bit_ofs))) - 1)) | \
((bits) >> (8 - (bit_ofs))); \
}
Documentación de los 'typedefs'
Documentación de las funciones