summaryrefslogtreecommitdiff
path: root/sql/sp_cache.cc
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-07-12 22:51:06 +0400
committerAlexander Barkov <bar@mariadb.org>2017-07-12 22:51:06 +0400
commit0f348bcd965cd47784634508da2202aba2dc0547 (patch)
tree31b7a3b309ec46e02355ab397c16a131e0ae07be /sql/sp_cache.cc
parent7c3df72d0a627aa6c12af14d57b2664af7f8b380 (diff)
downloadmariadb-git-0f348bcd965cd47784634508da2202aba2dc0547.tar.gz
MDEV-13302 Avoid using LEX::spname during CREATE PROCEDURE and CREATE FUNCTION
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 a97db59b9c6..70ba5084914 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, const sp_name *name)
+sp_head *sp_cache_lookup(sp_cache **cp, const Database_qualified_name *name)
{
char buf[NAME_LEN * 2 + 2];
sp_cache *c= *cp;