summaryrefslogtreecommitdiff
path: root/sql/sp_cache.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-04-11 16:15:08 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-11 16:15:08 +0400
commit5bf7046fa762f02c6dde197b99f7615f9a5eda15 (patch)
treeb7a6bb44c16469b258ac163baf9bf95fa3072f6c /sql/sp_cache.cc
parent958e634d25bf9e96d48592579a1f5e7f30659324 (diff)
downloadmariadb-git-5bf7046fa762f02c6dde197b99f7615f9a5eda15.tar.gz
Adding the const quafilier to "sp_name *" parameters in a few routine.
Diffstat (limited to 'sql/sp_cache.cc')
-rw-r--r--sql/sp_cache.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc
index b80cde335db..a97db59b9c6 100644
--- a/sql/sp_cache.cc
+++ b/sql/sp_cache.cc
@@ -189,7 +189,7 @@ void sp_cache_insert(sp_cache **cp, sp_head *sp)
NULL if the routine not found.
*/
-sp_head *sp_cache_lookup(sp_cache **cp, sp_name *name)
+sp_head *sp_cache_lookup(sp_cache **cp, const sp_name *name)
{
char buf[NAME_LEN * 2 + 2];
sp_cache *c= *cp;