diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-04-07 14:03:43 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-04-07 14:03:43 +0200 |
commit | e56cad4b152285219db19f542e4610c1307e3d92 (patch) | |
tree | 02525e36eda0bfaf391e5b5e6e26585130f923bb /mysys/hash.c | |
parent | 4ec6fe10e56de0cf9b4dbc649b8552ae39c2c500 (diff) | |
download | mariadb-git-e56cad4b152285219db19f542e4610c1307e3d92.tar.gz |
small cleanup
Diffstat (limited to 'mysys/hash.c')
-rw-r--r-- | mysys/hash.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mysys/hash.c b/mysys/hash.c index 0a830d8e3f4..aca6be4eb80 100644 --- a/mysys/hash.c +++ b/mysys/hash.c @@ -1,4 +1,5 @@ -/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. + Copyright (c) 2011, 2013, Monty Program Ab. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -59,6 +60,7 @@ static my_hash_value_type calc_hash(const HASH *hash, as required during insertion. @param[in,out] hash The hash that is initialized + @param[in[ growth_size size incrememnt for the underlying dynarray @param[in] charset The charater set information @param[in] size The hash size @param[in] key_offest The key offset for the hash @@ -72,7 +74,7 @@ static my_hash_value_type calc_hash(const HASH *hash, @retval 1 failure */ my_bool -_my_hash_init(HASH *hash, uint growth_size, CHARSET_INFO *charset, +my_hash_init2(HASH *hash, uint growth_size, CHARSET_INFO *charset, ulong size, size_t key_offset, size_t key_length, my_hash_get_key get_key, void (*free_element)(void*), uint flags) |