diff options
author | bar@bar.mysql.r18.ru <> | 2003-04-01 12:45:16 +0500 |
---|---|---|
committer | bar@bar.mysql.r18.ru <> | 2003-04-01 12:45:16 +0500 |
commit | 5b50426f8f869b5f54d6a629e5fcac944ad6581b (patch) | |
tree | ef837bf4fdaa936bc57607d203b03ebdf06a0a26 /include/hash.h | |
parent | ffa5f52e2db11d3f72b57ae9a1c54c245c7359ca (diff) | |
download | mariadb-git-5b50426f8f869b5f54d6a629e5fcac944ad6581b.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; |