86
86
@param key_length specifies length of all keyparts that will be copied
89
void key_copy(unsigned char *to_key, unsigned char *from_record, KEY *key_info, uint32_t key_length);
89
void key_copy(unsigned char *to_key, unsigned char *from_record, KeyInfo *key_info, uint32_t key_length);
90
90
void key_copy(std::basic_string<unsigned char> &to_key,
92
void key_restore(unsigned char *to_record, unsigned char *from_key, KEY *key_info,
92
void key_restore(unsigned char *to_record, unsigned char *from_key, KeyInfo *key_info,
95
95
bool key_cmp_if_same(Table *form,const unsigned char *key,uint32_t index,uint32_t key_length);
96
96
void key_unpack(String *to,Table *form,uint32_t index);
97
97
bool is_key_used(Table *table, uint32_t idx, const MyBitmap *fields);