diff options
author | pem@mysql.com <> | 2002-12-17 10:01:52 +0100 |
---|---|---|
committer | pem@mysql.com <> | 2002-12-17 10:01:52 +0100 |
commit | 58d3dda33f46348b3df51af8b3c04115d340e2b6 (patch) | |
tree | 469b436d3b14fa1ce75e1ba75885837f65c38b0a /sql/sp_pcontext.cc | |
parent | b1593c9a692141cadb345d5da6836e503f0e1dbf (diff) | |
download | mariadb-git-58d3dda33f46348b3df51af8b3c04115d340e2b6.tar.gz |
Added parsing of CASE (both generic and "simple").
Diffstat (limited to 'sql/sp_pcontext.cc')
-rw-r--r-- | sql/sp_pcontext.cc | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/sp_pcontext.cc b/sql/sp_pcontext.cc index 96296e54184..407151c3e38 100644 --- a/sql/sp_pcontext.cc +++ b/sql/sp_pcontext.cc @@ -107,20 +107,6 @@ sp_pcontext::push_label(char *name, uint ip) } sp_label_t * -sp_pcontext::push_gen_label(uint ip) -{ - sp_label_t *lab= NULL; - char *s= my_malloc(10, MYF(MY_WME)); // 10=... - - if (s) - { - sprintf(s, ".%08x", m_genlab++); // ...9+1 - lab= push_label(s, ip); - } - return lab; -} - -sp_label_t * sp_pcontext::find_label(char *name) { List_iterator_fast<sp_label_t> li(m_label); |