diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2016-10-16 11:00:07 +0000 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2016-10-16 11:00:07 +0000 |
commit | 274e5be1942aa0b6533d78b43454a7ed940b6628 (patch) | |
tree | 1485748a65984ca2a22414ff43280f71505da27c /include/hash.h | |
parent | f456532c62b227832c0a0c4107e4ee542d1e5b30 (diff) | |
download | mariadb-git-274e5be1942aa0b6533d78b43454a7ed940b6628.tar.gz |
MariaRocks: port my_hash_const_element
"Add new function my_hash_const_element(), the const equivalent of
my_hash_element()" - comes from facebook/mysql-5.6,
7c869d34b9fa2262b941efd6363a260b7c37948f
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 fde7fc30d38..4d575fe1736 100644 --- a/include/hash.h +++ b/include/hash.h @@ -74,6 +74,7 @@ my_bool my_hash_init2(HASH *hash, uint growth_size, CHARSET_INFO *charset, void my_hash_free(HASH *tree); void my_hash_reset(HASH *hash); uchar *my_hash_element(HASH *hash, ulong idx); +const uchar *my_hash_const_element(const HASH *hash, ulong idx); uchar *my_hash_search(const HASH *info, const uchar *key, size_t length); uchar *my_hash_search_using_hash_value(const HASH *info, my_hash_value_type hash_value, |