diff options
author | monty@mysql.com <> | 2004-10-07 10:50:13 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-10-07 10:50:13 +0300 |
commit | 6239edc1d189968aad442943fc44fcd09f44888f (patch) | |
tree | 2ca781cd075a86d68ada5b4565202c8f62a8d84a /include/hash.h | |
parent | 62f3cd6a31d3c1ffe7ad17d9de862a3c0859f56a (diff) | |
download | mariadb-git-6239edc1d189968aad442943fc44fcd09f44888f.tar.gz |
After merge fixes
Some bigger code changes was necessary becasue of the multi-table-update and the new HANDLER code
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 |