diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-12-06 09:05:52 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.org> | 2017-04-05 15:02:54 +0400 |
commit | 46d076d67ab82b6b967d86b867a42b337daff5de (patch) | |
tree | 08bf12ff3a5374e37f7df71137e75b148372de96 /sql/structs.h | |
parent | cd1afe0aac28cec267e9c2e74d7a5f73050e2614 (diff) | |
download | mariadb-git-46d076d67ab82b6b967d86b867a42b337daff5de.tar.gz |
MDEV-10577 sql_mode=ORACLE: %TYPE in variable declarations
Diffstat (limited to 'sql/structs.h')
-rw-r--r-- | sql/structs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h index 10dc1f40fa9..d3ad16592ef 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -647,6 +647,11 @@ public: { vars= conds= hndlrs= curs= 0; } + void init_using_vars(uint nvars) + { + vars= nvars; + conds= hndlrs= curs= 0; + } void join(const Lex_spblock_st &b1, const Lex_spblock_st &b2) { vars= b1.vars + b2.vars; |