diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-04-01 12:45:16 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-04-01 12:45:16 +0500 |
commit | db628b97a5aef69413b9b429e36c4872897e5693 (patch) | |
tree | ef837bf4fdaa936bc57607d203b03ebdf06a0a26 /include/hash.h | |
parent | c7db0a813cdf91855b885c6d9bf85e12716d8e00 (diff) | |
download | mariadb-git-db628b97a5aef69413b9b429e36c4872897e5693.tar.gz |
Some optimization in CHARSET_INFO:
We don't need separate hash_sort() and hash_caseup()
We don't need tosort(). strnxfrm will do the same.
Diffstat (limited to 'include/hash.h')
-rw-r--r-- | include/hash.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hash.h b/include/hash.h index 0635d2fd7fc..6c805bc2da7 100644 --- a/include/hash.h +++ b/include/hash.h @@ -25,9 +25,6 @@ extern "C" { typedef byte *(*hash_get_key)(const byte *,uint*,my_bool); typedef void (*hash_free_key)(void *); - /* flags for hash_init */ -#define HASH_CASE_INSENSITIVE 1 - typedef struct st_hash_info { uint next; /* index to next key */ byte *data; /* data for current entry */ @@ -40,7 +37,6 @@ typedef struct st_hash { DYNAMIC_ARRAY array; /* Place for hash_keys */ hash_get_key get_key; void (*free)(void *); - uint (*calc_hashnr)(CHARSET_INFO *cs, const byte *key,uint length); CHARSET_INFO *charset; } HASH; |