|
|
|
@ -4331,7 +4331,7 @@ update_hash(user_var_entry *entry, bool set_null, void *ptr, uint length, |
|
|
|
length--; // Fix length change above
|
|
|
|
entry->value[length]= 0; // Store end \0
|
|
|
|
} |
|
|
|
memcpy(entry->value,ptr,length); |
|
|
|
memmove(entry->value, ptr, length); |
|
|
|
if (type == DECIMAL_RESULT) |
|
|
|
((my_decimal*)entry->value)->fix_buffer_pointer(); |
|
|
|
entry->length= length; |
|
|
|
|