From 5bf7046fa762f02c6dde197b99f7615f9a5eda15 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Tue, 11 Apr 2017 16:15:08 +0400 Subject: Adding the const quafilier to "sp_name *" parameters in a few routine. --- sql/sp_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sp_cache.cc') 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; -- cgit v1.2.1