summaryrefslogtreecommitdiff
path: root/sql/sp_pcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_pcontext.h')
-rw-r--r--sql/sp_pcontext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sp_pcontext.h b/sql/sp_pcontext.h
index 8a37adcf427..7c8e2ba0c43 100644
--- a/sql/sp_pcontext.h
+++ b/sql/sp_pcontext.h
@@ -125,6 +125,12 @@ class sp_pcontext : public Sql_alloc
sp_label_t *
find_label(char *name);
+ inline sp_label_t *
+ last_label()
+ {
+ return m_label.head();
+ }
+
inline void
pop_label()
{