summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-09-13 16:34:18 +0400
committerAlexander Barkov <bar@mariadb.org>2017-04-05 15:02:49 +0400
commitec527face333fc5d2fe058485dc670dd6db86e2d (patch)
treed7845a6777f78fb278b67164c5f9a2272b821c6e /sql/sql_lex.h
parentf564ceb473f2a679b12c58ab1986a3986c61bd09 (diff)
downloadmariadb-git-ec527face333fc5d2fe058485dc670dd6db86e2d.tar.gz
MDEV-10801 sql_mode: dynamic SQL placeholders
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 940a54ff009..8f0e83610cd 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -3182,6 +3182,11 @@ public:
bool sp_while_loop_expression(THD *thd, Item *expr);
bool sp_while_loop_finalize(THD *thd);
+ Item_param *add_placeholder(THD *thd, char *name,
+ uint pos_in_query, uint len_in_query);
+ Item_param *add_placeholder(THD *thd, char *name,
+ const char *pos, const char *end);
+
sp_variable *sp_add_for_loop_variable(THD *thd, const LEX_STRING name,
Item *value);
sp_variable *sp_add_for_loop_upper_bound(THD *thd, Item *value)