diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-08-28 09:23:15 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-10-10 22:27:41 +0200 |
commit | d508ef789828ed79dec5a568743574cb32e91710 (patch) | |
tree | c378d5d9150e309e33171bddb85dbe812bd20e66 /sql/keycaches.cc | |
parent | 9ccaa62dd5a975178d02040514f84119f3371c74 (diff) | |
download | mariadb-git-d508ef789828ed79dec5a568743574cb32e91710.tar.gz |
cleanup: more 'const' qualifiers
Diffstat (limited to 'sql/keycaches.cc')
-rw-r--r-- | sql/keycaches.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/keycaches.cc b/sql/keycaches.cc index 120aa7e1029..9426ccc9e95 100644 --- a/sql/keycaches.cc +++ b/sql/keycaches.cc @@ -103,7 +103,7 @@ LEX_STRING default_key_cache_base= {C_STRING_WITH_LEN("default")}; KEY_CACHE zero_key_cache; ///< @@nonexistent_cache.param->value_ptr() points here -KEY_CACHE *get_key_cache(LEX_STRING *cache_name) +KEY_CACHE *get_key_cache(const LEX_STRING *cache_name) { if (!cache_name || ! cache_name->length) cache_name= &default_key_cache_base; |