summaryrefslogtreecommitdiff
path: root/sql/sp_pcontext.h
diff options
context:
space:
mode:
authorpem@mysql.com <>2002-12-17 10:01:52 +0100
committerpem@mysql.com <>2002-12-17 10:01:52 +0100
commit58d3dda33f46348b3df51af8b3c04115d340e2b6 (patch)
tree469b436d3b14fa1ce75e1ba75885837f65c38b0a /sql/sp_pcontext.h
parentb1593c9a692141cadb345d5da6836e503f0e1dbf (diff)
downloadmariadb-git-58d3dda33f46348b3df51af8b3c04115d340e2b6.tar.gz
Added parsing of CASE (both generic and "simple").
Diffstat (limited to 'sql/sp_pcontext.h')
-rw-r--r--sql/sp_pcontext.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sql/sp_pcontext.h b/sql/sp_pcontext.h
index 2eb59172365..6ab38e77017 100644
--- a/sql/sp_pcontext.h
+++ b/sql/sp_pcontext.h
@@ -99,7 +99,7 @@ class sp_pcontext : public Sql_alloc
inline void
pop(uint num = 1)
{
- if (num >= m_i)
+ if (num < m_i)
m_i -= num;
}
@@ -120,9 +120,6 @@ class sp_pcontext : public Sql_alloc
push_label(char *name, uint ip);
sp_label_t *
- push_gen_label(uint ip);
-
- sp_label_t *
find_label(char *name);
inline sp_label_t *