summaryrefslogtreecommitdiff
path: root/sql/structs.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-08-24 07:39:04 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:46 +0400
commitc570636ba278e935701ca917af966630d38556ab (patch)
tree856f9cccf65da0ffae4b70def8452fcf25f23182 /sql/structs.h
parent71a0a12e61818d68201dfc985a64b58c19cfef44 (diff)
downloadmariadb-git-c570636ba278e935701ca917af966630d38556ab.tar.gz
MDEV-10580 sql_mode=ORACLE: FOR loop statement
Adding non-labeled FOR LOOP statement.
Diffstat (limited to 'sql/structs.h')
-rw-r--r--sql/structs.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h
index f0c3926e424..cf1b2ff4e94 100644
--- a/sql/structs.h
+++ b/sql/structs.h
@@ -668,4 +668,14 @@ public:
}
};
+
+struct Lex_for_loop_st
+{
+public:
+ class sp_variable *m_index;
+ class sp_variable *m_upper_bound;
+ int m_direction;
+};
+
+
#endif /* STRUCTS_INCLUDED */