summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2006-07-01 00:14:28 +0400
committerkonstantin@mysql.com <>2006-07-01 00:14:28 +0400
commit41fea3d763a26f799f110bd6ede3dba9a7f53f04 (patch)
tree936a96dc4b6405e8b5c7ba03c748c86c56ec1fcd /sql/sql_parse.cc
parent96bddcafe7072a9a709122b438499f765652a600 (diff)
downloadmariadb-git-41fea3d763a26f799f110bd6ede3dba9a7f53f04.tar.gz
Remove a couple of unused/barely used names.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index cd57c280950..0e21b848125 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2365,7 +2365,7 @@ static void reset_one_shot_variables(THD *thd)
/*
- Execute command saved in thd and current_lex->sql_command
+ Execute command saved in thd and lex->sql_command
SYNOPSIS
mysql_execute_command()
@@ -5541,7 +5541,7 @@ bool check_stack_overrun(THD *thd, long margin,
bool my_yyoverflow(short **yyss, YYSTYPE **yyvs, ulong *yystacksize)
{
- LEX *lex=current_lex;
+ LEX *lex= current_thd->lex;
ulong old_info=0;
if ((uint) *yystacksize >= MY_YACC_MAX)
return 1;
@@ -5978,7 +5978,7 @@ bool add_field_to_list(THD *thd, char *field_name, enum_field_types type,
void store_position_for_column(const char *name)
{
- current_lex->last_field->after=my_const_cast(char*) (name);
+ current_thd->lex->last_field->after=my_const_cast(char*) (name);
}
bool