summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
authoriggy@recycle.(none) <>2007-03-29 10:42:03 -0400
committeriggy@recycle.(none) <>2007-03-29 10:42:03 -0400
commit4f498dec3af9d882f9a93f3f2df0aeeb669a2a09 (patch)
treee03c95e78f3d23c4b7429b3b50374f9a08f7eea6 /sql/sp_head.h
parent762eae0bf166fa52184eb5884cc765314e318b8b (diff)
parentbbc38df09071ca42e0087402558dd3b745f50807 (diff)
downloadmariadb-git-4f498dec3af9d882f9a93f3f2df0aeeb669a2a09.tar.gz
Merge recycle.(none):/src/bug23491/my50-bug23491
into recycle.(none):/src/bug23491/my51-bug23491
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index 46ad3dd96d8..83473de4d6c 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -59,9 +59,10 @@ public:
calling set_routine_type().
*/
LEX_STRING m_sroutines_key;
+ bool m_explicit_name; /**< Prepend the db name? */
- sp_name(LEX_STRING db, LEX_STRING name)
- : m_db(db), m_name(name)
+ sp_name(LEX_STRING db, LEX_STRING name, bool use_explicit_name)
+ : m_db(db), m_name(name), m_explicit_name(use_explicit_name)
{
m_qname.str= m_sroutines_key.str= 0;
m_qname.length= m_sroutines_key.length= 0;
@@ -79,6 +80,7 @@ public:
m_name.length= m_qname.length= key_len - 1;
m_db.str= 0;
m_db.length= 0;
+ m_explicit_name= false;
}
// Init. the qualified name from the db and name.