summaryrefslogtreecommitdiff
path: root/sql/sp.cc
diff options
context:
space:
mode:
authorunknown <iggy@recycle.(none)>2007-03-29 12:13:42 -0400
committerunknown <iggy@recycle.(none)>2007-03-29 12:13:42 -0400
commit7c27a05a966ec9911b6afae853f1fc8bdab4b1db (patch)
treeeaa4e6324778d6e13ff178f36f4fffa495709890 /sql/sp.cc
parent169771462158ec5da9112322d803f027ed39e19b (diff)
parent09eff0aa5bdbfaebe47c155084d5d84e6f5adec4 (diff)
downloadmariadb-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.cc')
-rw-r--r--sql/sp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp.cc b/sql/sp.cc
index c1a9aac0c24..3c6ae495068 100644
--- a/sql/sp.cc
+++ b/sql/sp.cc
@@ -1041,7 +1041,7 @@ sp_exist_routines(THD *thd, TABLE_LIST *routines, bool any, bool no_error)
lex_name.length= strlen(routine->table_name);
lex_db.str= thd->strmake(routine->db, lex_db.length);
lex_name.str= thd->strmake(routine->table_name, lex_name.length);
- name= new sp_name(lex_db, lex_name);
+ name= new sp_name(lex_db, lex_name, true);
name->init_qname(thd);
sp_object_found= sp_find_routine(thd, TYPE_ENUM_PROCEDURE, name,
&thd->sp_proc_cache, FALSE) != NULL ||