From 1b454e345cfd43e6bbea9565c6e628384c1ff9ad Mon Sep 17 00:00:00 2001 From: V Narayanan <v.narayanan@sun.com> Date: Mon, 22 Jun 2009 16:40:34 +0530 Subject: [PATCH] Bug#43572 Handle failures from hash_init The merge from http://lists.mysql.com/commits/76678 caused the growth_size parameter to the my_init_dynamic_array function to be ignored. This patch corrects the problem. --- mysys/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysys/hash.c b/mysys/hash.c index 2490a6c201..63933abb08 100644 --- a/mysys/hash.c +++ b/mysys/hash.c @@ -89,7 +89,7 @@ _my_hash_init(HASH *hash, uint growth_size, CHARSET_INFO *charset, hash->flags=flags; hash->charset=charset; DBUG_RETURN(my_init_dynamic_array_ci(&hash->array, - sizeof(HASH_LINK), size, 0)); + sizeof(HASH_LINK), size, growth_size)); } -- 2.30.9