mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Update Mroonga to the latest version on 2015-07-02T04:12:21+0900
This commit is contained in:
@@ -44,6 +44,10 @@ namespace mrn {
|
||||
TYPE_NUMBER,
|
||||
TYPE_FLOAT,
|
||||
TYPE_DOUBLE,
|
||||
TYPE_DATETIME,
|
||||
#ifdef MRN_HAVE_MYSQL_TYPE_DATETIME2
|
||||
TYPE_DATETIME2,
|
||||
#endif
|
||||
TYPE_BYTE_SEQUENCE,
|
||||
TYPE_BYTE_REVERSE,
|
||||
TYPE_BYTE_BLOB
|
||||
@@ -56,14 +60,40 @@ namespace mrn {
|
||||
void get_key_info(KEY_PART_INFO *key_part,
|
||||
DataType *data_type, uint *data_size);
|
||||
|
||||
void encode_float(volatile float value, uint data_size, uchar *grn_key);
|
||||
void decode_float(const uchar *grn_key, uchar *mysql_key, uint data_size);
|
||||
void encode_double(volatile double value, uint data_size, uchar *grn_key);
|
||||
void decode_double(const uchar *grn_key, uchar *mysql_key, uint data_size);
|
||||
void encode_reverse(const uchar *mysql_key, uint data_size, uchar *grn_key);
|
||||
void decode_reverse(const uchar *grn_key, uchar *mysql_key, uint data_size);
|
||||
void encode_blob(Field *field,
|
||||
const uchar *mysql_key, uchar *grn_key, uint *data_size);
|
||||
void encode_number(const uchar *mysql_key,
|
||||
uint mysql_key_size,
|
||||
bool is_signed,
|
||||
uchar *grn_key);
|
||||
void decode_number(const uchar *grn_key,
|
||||
uint grn_key_size,
|
||||
bool is_signed,
|
||||
uchar *mysql_key);
|
||||
void encode_long_long_int(volatile long long int value,
|
||||
uchar *grn_key);
|
||||
void decode_long_long_int(const uchar *grn_key,
|
||||
long long int *value);
|
||||
void encode_float(volatile float value,
|
||||
uint value_size,
|
||||
uchar *grn_key);
|
||||
void decode_float(const uchar *grn_key,
|
||||
uint grn_key_size,
|
||||
uchar *mysql_key);
|
||||
void encode_double(volatile double value,
|
||||
uint value_size,
|
||||
uchar *grn_key);
|
||||
void decode_double(const uchar *grn_key,
|
||||
uint grn_key_size,
|
||||
uchar *mysql_key);
|
||||
void encode_reverse(const uchar *mysql_key,
|
||||
uint mysql_key_size,
|
||||
uchar *grn_key);
|
||||
void decode_reverse(const uchar *grn_key,
|
||||
uint grn_key_size,
|
||||
uchar *mysql_key);
|
||||
void encode_blob(const uchar *mysql_key,
|
||||
uint *mysql_key_size,
|
||||
Field *field,
|
||||
uchar *grn_key);
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user