summaryrefslogtreecommitdiff
path: root/sql/sp_pcontext.h
diff options
context:
space:
mode:
authorpem@mysql.com <>2006-01-16 15:22:29 +0100
committerpem@mysql.com <>2006-01-16 15:22:29 +0100
commita1b2960a8abcaa6aa9696869f83435cd3121b47d (patch)
treed55c1f1930d0eecdbcc9bed29036aec1e8f084a4 /sql/sp_pcontext.h
parent58db54364f964f7fb7f324bd2b3f8d5fb18b7706 (diff)
downloadmariadb-git-a1b2960a8abcaa6aa9696869f83435cd3121b47d.tar.gz
Post-review fix (BUG#14498).
Diffstat (limited to 'sql/sp_pcontext.h')
-rw-r--r--sql/sp_pcontext.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sp_pcontext.h b/sql/sp_pcontext.h
index bd2259cb6fb..2fd40159b6c 100644
--- a/sql/sp_pcontext.h
+++ b/sql/sp_pcontext.h
@@ -44,6 +44,15 @@ typedef struct sp_pvar
#define SP_LAB_BEGIN 2 // Label at BEGIN
#define SP_LAB_ITER 3 // Label at iteration control
+/*
+ An SQL/PSM label. Can refer to the identifier used with the
+ "label_name:" construct which may precede some SQL/PSM statements, or
+ to an implicit implementation-dependent identifier which the parser
+ inserts before a high-level flow control statement such as
+ IF/WHILE/REPEAT/LOOP, when such statement is rewritten into
+ a combination of low-level jump/jump_if instructions and labels.
+*/
+
typedef struct sp_label
{
char *name;