diff options
Diffstat (limited to 'include/hash.h')
-rw-r--r-- | include/hash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hash.h b/include/hash.h index 6e6db27cd40..cd7210a290c 100644 --- a/include/hash.h +++ b/include/hash.h @@ -57,6 +57,7 @@ my_bool hash_update(HASH *hash,byte *record,byte *old_key,uint old_key_length); void hash_replace(HASH *hash, uint idx, byte *new_row); my_bool hash_check(HASH *hash); /* Only in debug library */ +#define hash_clear(H) bzero((char*) (H),sizeof(*(H))) #define hash_inited(H) ((H)->array.buffer != 0) #ifdef __cplusplus |