summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2014-05-01 14:07:11 +0200
committerSergei Golubchik <sergii@pisem.net>2014-05-01 14:07:11 +0200
commit26618a54fa2be4be3711db7e128fe1d57c4233eb (patch)
tree8eef14725db7d11c48a329d6ebd8f5d50f21c045 /sql/sql_yacc.yy
parentd81b662b8c75018f4facd2323558805ee2bc7eb8 (diff)
downloadmariadb-git-26618a54fa2be4be3711db7e128fe1d57c4233eb.tar.gz
MDEV-5736 remove what remains from ONE_SHOT hack
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 0de67297302..5da781f4bf5 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -810,7 +810,6 @@ static void sp_create_assignment_lex(THD *thd, bool no_lookahead)
lex->sql_command= SQLCOM_SET_OPTION;
mysql_init_select(lex);
lex->var_list.empty();
- lex->one_shot_set= 0;
lex->autocommit= 0;
/* get_ptr() is only correct with no lookahead. */
DBUG_ASSERT(no_lookahead);
@@ -14424,7 +14423,6 @@ set:
mysql_init_select(lex);
lex->option_type=OPT_SESSION;
lex->var_list.empty();
- lex->one_shot_set= 0;
lex->autocommit= 0;
sp_create_assignment_lex(thd, yychar == YYEMPTY);
}