diff options
author | V Narayanan <v.narayanan@sun.com> | 2009-06-22 16:40:34 +0530 |
---|---|---|
committer | V Narayanan <v.narayanan@sun.com> | 2009-06-22 16:40:34 +0530 |
commit | 1b454e345cfd43e6bbea9565c6e628384c1ff9ad (patch) | |
tree | 90cbb16f8547d47dce2833480e2bf9f950d26b8c /mysys | |
parent | 2f935906f82ba2ea9d2bf2829c0a042e6e310601 (diff) | |
download | mariadb-git-1b454e345cfd43e6bbea9565c6e628384c1ff9ad.tar.gz |
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.
Diffstat (limited to 'mysys')
-rw-r--r-- | mysys/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/hash.c b/mysys/hash.c index 2490a6c2019..63933abb085 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)); } |