summaryrefslogtreecommitdiff
path: root/sql/sp_pcontext.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.com>2006-01-16 15:22:29 +0100
committerunknown <pem@mysql.com>2006-01-16 15:22:29 +0100
commit29915d6e1c71289fbae57aa7948e3453bf78485e (patch)
treed55c1f1930d0eecdbcc9bed29036aec1e8f084a4 /sql/sp_pcontext.h
parent898adb8cfc2e5d4bdf01ae9085f042a82f85c3f7 (diff)
downloadmariadb-git-29915d6e1c71289fbae57aa7948e3453bf78485e.tar.gz
Post-review fix (BUG#14498).
sql/sp_pcontext.h: Post-review fix.
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;