InnoDB Plugin
1.0
|
#include "fts0types.h"
Functions | |
UNIV_INLINE ulint | fts_get_encoded_len (ulint val) |
UNIV_INLINE ulint | fts_encode_int (ulint val, byte *buf) |
UNIV_INLINE ulint | fts_decode_vlc (byte **ptr) |
Full text variable length integer encoding/decoding.
Created 2007-03-27 Sunny Bains
UNIV_INLINE ulint fts_decode_vlc | ( | byte ** | ptr | ) |
Decode and return the integer that was encoded using our VLC scheme.
ptr | out: value decoded |
UNIV_INLINE ulint fts_encode_int | ( | ulint | val, |
byte * | buf | ||
) |
Encode an integer using our VLC scheme and return the length in bytes.
val | out: length of value encoded, in bytes in: value to encode |
UNIV_INLINE ulint fts_get_encoded_len | ( | ulint | val | ) |
Return length of val if it were encoded using our VLC scheme. FIXME: We will need to be able encode 8 bytes value
val | out: length of value encoded, in bytes |