summaryrefslogtreecommitdiff
path: root/sql/keycaches.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-08-28 09:23:15 +0200
committerSergei Golubchik <serg@mariadb.org>2014-10-10 22:27:41 +0200
commitd508ef789828ed79dec5a568743574cb32e91710 (patch)
treec378d5d9150e309e33171bddb85dbe812bd20e66 /sql/keycaches.cc
parent9ccaa62dd5a975178d02040514f84119f3371c74 (diff)
downloadmariadb-git-d508ef789828ed79dec5a568743574cb32e91710.tar.gz
cleanup: more 'const' qualifiers
Diffstat (limited to 'sql/keycaches.cc')
-rw-r--r--sql/keycaches.cc2
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;