Hi hackers,
It's not necessary to fill the key field for most cases, since
hash_search has already done that for you. For developer that
using memset to zero the entry structure after enter it, fill the
key field is a must, but IMHO that is not good coding style, we
really should not touch the key field after insert it into the
dynahash.
This patch fixed some most abnormal ones, instead of refilling the
key field of primitive types, adding some assert might be a better
choice.
--
Regards
Junwang Zhao