summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorunknown <jcole@tetra.spaceapes.com>2001-03-14 01:18:16 -0600
committerunknown <jcole@tetra.spaceapes.com>2001-03-14 01:18:16 -0600
commitbf446ae40f836d48208bfbdf7d756ddc65b27c2f (patch)
tree8cce67ce74fd018d592134d364422581dd5ac55d /sql/sql_lex.cc
parent8046201101960a7473b743372800eeb4227846b4 (diff)
downloadmariadb-git-bf446ae40f836d48208bfbdf7d756ddc65b27c2f.tar.gz
Moved state_map copying to THD::THD().
sql/sql_lex.cc: Changed serg's fix back.
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 5e75339b0db..f0357b99d70 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -425,7 +425,7 @@ int yylex(void *arg)
uint length;
enum lex_states state,prev_state;
LEX *lex=current_lex;
- uchar *state_map = global_state_map; // thd->lex->state_map;
+ uchar *state_map = lex->thd->state_map;
YYSTYPE *yylval=(YYSTYPE*) arg;
lex->yylval=yylval; // The global state