diff options
author | vva@genie.(none) <> | 2002-11-19 18:26:53 +0400 |
---|---|---|
committer | vva@genie.(none) <> | 2002-11-19 18:26:53 +0400 |
commit | 5aabbf55a91e0e03842eb90200e80be5170640f7 (patch) | |
tree | 6f25883717e7c6cfc40b292a86148e469567534c /client/completion_hash.cc | |
parent | c0764205cfc530c7880a07291ac47a11a4f43de6 (diff) | |
download | mariadb-git-5aabbf55a91e0e03842eb90200e80be5170640f7.tar.gz |
upgrade readline to version 4.3
Diffstat (limited to 'client/completion_hash.cc')
-rw-r--r-- | client/completion_hash.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/completion_hash.cc b/client/completion_hash.cc index ff5d0b28e41..536e7f9373a 100644 --- a/client/completion_hash.cc +++ b/client/completion_hash.cc @@ -27,7 +27,7 @@ #include <my_sys.h> #include "completion_hash.h" -uint hashpjw(char *arKey, uint nKeyLength) +uint hashpjw(const char *arKey, uint nKeyLength) { uint h = 0, g, i; @@ -111,7 +111,7 @@ int completion_hash_update(HashTable *ht, char *arKey, uint nKeyLength, return SUCCESS; } -static Bucket *completion_hash_find(HashTable *ht, char *arKey, +static Bucket *completion_hash_find(HashTable *ht, const char *arKey, uint nKeyLength) { uint h, nIndex; @@ -156,7 +156,7 @@ int completion_hash_exists(HashTable *ht, char *arKey, uint nKeyLength) return 0; } -Bucket *find_all_matches(HashTable *ht, char *str, uint length, +Bucket *find_all_matches(HashTable *ht, const char *str, uint length, uint *res_length) { Bucket *b; |