summaryrefslogtreecommitdiff
path: root/sql/sp_cache.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-02-17 17:36:53 +0100
committerunknown <pem@mysql.comhem.se>2004-02-17 17:36:53 +0100
commite55c4ed179c5703f7b0c4b5ea2a4f9c6c59d0b20 (patch)
treeed911cc3b55e2fc5c450953efcdddc56c730097e /sql/sp_cache.h
parent7444a50af81b2a790376519245fb09ca9a6068ba (diff)
downloadmariadb-git-e55c4ed179c5703f7b0c4b5ea2a4f9c6c59d0b20.tar.gz
WL#1366: Use the schema (db) associated with an SP.
Phase 1: Introduced sp_name class, for qualified name support. sql/item_func.cc: Introduced sp_name class; moved some methods from item_func.h. sql/item_func.h: Introduced sp_name class; moved some methods to item_func.cc. sql/sp.cc: Introduced sp_name class, for qualified name support. sql/sp.h: Introduced sp_name class, for qualified name support. sql/sp_cache.cc: Introduced sp_name class, for qualified name support. sql/sp_cache.h: Introduced sp_name class, for qualified name support. sql/sp_head.cc: Introduced sp_name class, for qualified name support. sql/sp_head.h: Introduced sp_name class, for qualified name support. sql/sql_lex.h: Introduced sp_name class, for qualified name support. sql/sql_parse.cc: Introduced sp_name class, for qualified name support. sql/sql_yacc.yy: Introduced sp_name class, for qualified name support.
Diffstat (limited to 'sql/sp_cache.h')
-rw-r--r--sql/sp_cache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp_cache.h b/sql/sp_cache.h
index da25227303b..253e9b11588 100644
--- a/sql/sp_cache.h
+++ b/sql/sp_cache.h
@@ -35,10 +35,10 @@ void sp_cache_clear(sp_cache **cp);
void sp_cache_insert(sp_cache **cp, sp_head *sp);
/* Lookup an SP in cache */
-sp_head *sp_cache_lookup(sp_cache **cp, char *name, uint namelen);
+sp_head *sp_cache_lookup(sp_cache **cp, sp_name *name);
/* Remove an SP from cache. Returns true if something was removed */
-bool sp_cache_remove(sp_cache **cp, char *name, uint namelen);
+bool sp_cache_remove(sp_cache **cp, sp_name *name);
/*