925
913
const unsigned char *key= (unsigned char*) record + keyseg->start;
927
915
switch (info->s->auto_key_type) {
932
917
value=(uint64_t) *(unsigned char*) key;
940
919
case HA_KEYTYPE_LONG_INT:
941
920
s_value= (int64_t) sint4korr(key);
943
922
case HA_KEYTYPE_ULONG_INT:
944
923
value=(uint64_t) uint4korr(key);
950
926
value=(uint64_t) uint3korr(key);
960
928
case HA_KEYTYPE_DOUBLE: /* This shouldn't be used */