Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
fef4e752
Commit
fef4e752
authored
Mar 14, 2001
by
jcole@tetra.spaceapes.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work.mysql.com:/home/bk/mysql
into tetra.spaceapes.com:/usr/home/jcole/bk/mysql
parents
0dd0d88e
1b9ce040
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
sql/sql_class.cc
sql/sql_class.cc
+4
-0
sql/sql_lex.cc
sql/sql_lex.cc
+1
-1
sql/sql_parse.cc
sql/sql_parse.cc
+0
-4
No files found.
sql/sql_class.cc
View file @
fef4e752
...
@@ -135,6 +135,10 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0),
...
@@ -135,6 +135,10 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0),
}
}
#endif
#endif
// copy global state map into thread
for
(
int
x
=
0
;
x
<
256
;
x
++
)
state_map
[
x
]
=
global_state_map
[
x
];
#ifdef __WIN__
#ifdef __WIN__
real_id
=
0
;
real_id
=
0
;
#endif
#endif
...
...
sql/sql_lex.cc
View file @
fef4e752
...
@@ -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
=
global_state_map
;
// thd->lex
->state_map;
uchar
*
state_map
=
lex
->
thd
->
state_map
;
YYSTYPE
*
yylval
=
(
YYSTYPE
*
)
arg
;
YYSTYPE
*
yylval
=
(
YYSTYPE
*
)
arg
;
lex
->
yylval
=
yylval
;
// The global state
lex
->
yylval
=
yylval
;
// The global state
...
...
sql/sql_parse.cc
View file @
fef4e752
...
@@ -512,10 +512,6 @@ pthread_handler_decl(handle_one_connection,arg)
...
@@ -512,10 +512,6 @@ pthread_handler_decl(handle_one_connection,arg)
return
0
;
return
0
;
}
}
// copy global state map into thread
for
(
int
x
=
0
;
x
<
256
;
x
++
)
thd
->
state_map
[
x
]
=
global_state_map
[
x
];
do
do
{
{
int
error
;
int
error
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment