diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-09-13 16:34:18 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-05 15:02:49 +0400 |
commit | ec527face333fc5d2fe058485dc670dd6db86e2d (patch) | |
tree | d7845a6777f78fb278b67164c5f9a2272b821c6e /sql/sql_lex.h | |
parent | f564ceb473f2a679b12c58ab1986a3986c61bd09 (diff) | |
download | mariadb-git-ec527face333fc5d2fe058485dc670dd6db86e2d.tar.gz |
MDEV-10801 sql_mode: dynamic SQL placeholders
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 5 |
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) |