diff options
author | unknown <iggy@recycle.(none)> | 2007-03-29 12:13:42 -0400 |
---|---|---|
committer | unknown <iggy@recycle.(none)> | 2007-03-29 12:13:42 -0400 |
commit | 7c27a05a966ec9911b6afae853f1fc8bdab4b1db (patch) | |
tree | eaa4e6324778d6e13ff178f36f4fffa495709890 /sql/sp_head.h | |
parent | 169771462158ec5da9112322d803f027ed39e19b (diff) | |
parent | 09eff0aa5bdbfaebe47c155084d5d84e6f5adec4 (diff) | |
download | mariadb-git-7c27a05a966ec9911b6afae853f1fc8bdab4b1db.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-new-maint
into recycle.(none):/src/bug23491/my51-bug23491
mysql-test/t/mysqldump.test:
Auto merged
sql/item_create.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/sp.cc:
Auto merged
sql/sp_head.h:
Auto merged
sql/sql_yacc.yy:
Auto merged
mysql-test/r/mysqldump.result:
SCCS merged
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index 19dc2dac476..10a8583571c 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. |