summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorV Narayanan <v.narayanan@sun.com>2009-06-19 17:58:46 +0530
committerV Narayanan <v.narayanan@sun.com>2009-06-19 17:58:46 +0530
commit4662631f1d3c38d7a202055a665af81fc63d7b69 (patch)
treee8b5e93c0449919c2cc54b0e9e9da1889d0888a0 /include
parent18bd3cd5f370a8e9579e6947f94922de08b99711 (diff)
parent336c81061872bd5610670edd5595bf7ac1e41fad (diff)
downloadmariadb-git-4662631f1d3c38d7a202055a665af81fc63d7b69.tar.gz
merging with mysql-5.0-bugteam
Diffstat (limited to 'include')
-rw-r--r--include/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hash.h b/include/hash.h
index f4b82454b81..629b404e8a7 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -106,7 +106,7 @@ void my_hash_replace(HASH *hash, HASH_SEARCH_STATE *state, uchar *new_row);
my_bool my_hash_check(HASH *hash); /* Only in debug library */
#define my_hash_clear(H) bzero((char*) (H), sizeof(*(H)))
-#define my_hash_inited(H) ((H)->array.buffer != 0)
+#define my_hash_inited(H) ((H)->blength != 0)
#define my_hash_init_opt(A,B,C,D,E,F,G,H) \
(!my_hash_inited(A) && _my_hash_init(A,0,B,C,D,E,F,G, H CALLER_INFO))