summaryrefslogtreecommitdiff
path: root/sql/mdl.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2014-11-19 09:13:38 +0100
committerSergei Golubchik <serg@mariadb.org>2014-12-04 10:41:51 +0100
commit2ae7541bcf93985302bc7efb2629e6f623ccfc64 (patch)
treed0b14c1dba4bffc2ae82f2d51f1f9ef4ebf7035a /sql/mdl.cc
parent0d30423900dd3a384f061c32f6ec3de9c11cdde9 (diff)
downloadmariadb-git-2ae7541bcf93985302bc7efb2629e6f623ccfc64.tar.gz
cleanup: s/const CHARSET_INFO/CHARSET_INFO/
as CHARSET_INFO is already const, using const on it is redundant and results in compiler warnings (on Windows)
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r--sql/mdl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc
index 09c26cf4c34..ec2dea0676f 100644
--- a/sql/mdl.cc
+++ b/sql/mdl.cc
@@ -793,7 +793,7 @@ void MDL_map::init()
}
-my_hash_value_type mdl_hash_function(const CHARSET_INFO *cs,
+my_hash_value_type mdl_hash_function(CHARSET_INFO *cs,
const uchar *key, size_t length)
{
MDL_key *mdl_key= (MDL_key*) (key - offsetof(MDL_key, m_ptr));