Commit 97fc1cc3 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

sql_lex.cc per-thread state_map temporarily disabled

mysql-test-run.sh	PATH corrected
parent 5f6cbe3d
...@@ -18,7 +18,7 @@ TZ=GMT-3; export TZ # for UNIX_TIMESTAMP tests to work ...@@ -18,7 +18,7 @@ TZ=GMT-3; export TZ # for UNIX_TIMESTAMP tests to work
# Program Definitions # Program Definitions
#-- #--
PATH=/bin:/usr/bin:/usr/local/bin:/usr/bsd PATH=/bin:/usr/bin:/usr/local/bin:/usr/bsd:/usr/X11R6/bin
# No paths below as we can't be sure where the program is! # No paths below as we can't be sure where the program is!
......
...@@ -425,7 +425,7 @@ int yylex(void *arg) ...@@ -425,7 +425,7 @@ int yylex(void *arg)
uint length; uint length;
enum lex_states state,prev_state; enum lex_states state,prev_state;
LEX *lex=current_lex; LEX *lex=current_lex;
uchar *state_map = lex->thd->state_map; uchar *state_map = global_state_map; // thd->lex->state_map;
YYSTYPE *yylval=(YYSTYPE*) arg; YYSTYPE *yylval=(YYSTYPE*) arg;
lex->yylval=yylval; // The global state lex->yylval=yylval; // The global state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment