diff options
author | unknown <iggy@recycle.(none)> | 2007-03-29 12:20:13 -0400 |
---|---|---|
committer | unknown <iggy@recycle.(none)> | 2007-03-29 12:20:13 -0400 |
commit | 480c30d932a1bdea396035953c649b13de44292c (patch) | |
tree | 9daaa23dadd2e4acbc8f89fa6f45a1dfd0f41838 /sql/sp_head.h | |
parent | 8dc103f87bd3c54ad81756fce267fb46cbef2e8d (diff) | |
parent | 609277f942e5479976d5a1f31da55fd2cf646109 (diff) | |
download | mariadb-git-480c30d932a1bdea396035953c649b13de44292c.tar.gz |
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into recycle.(none):/src/bug23491/my50-bug23491
mysql-test/t/mysqldump.test:
Auto merged
sql/item_func.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 901b7a19c39..cce400d6a14 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. |