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
a8266151
Commit
a8266151
authored
Nov 11, 2010
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql-5.1-innodb to mysql-5.5-innodb.
parents
631b5ef0
4bb4eb80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
storage/innobase/thr/thr0loc.c
storage/innobase/thr/thr0loc.c
+3
-2
No files found.
storage/innobase/thr/thr0loc.c
View file @
a8266151
...
...
@@ -87,7 +87,8 @@ thr_local_validate(
const
thr_local_t
*
local
)
/*!< in: data to validate */
{
ut_ad
(
local
->
magic_n
==
THR_LOCAL_MAGIC_N
);
ut_ad
(
local
->
slot_no
<
OS_THREAD_MAX_N
);
ut_ad
(
local
->
slot_no
==
ULINT_UNDEFINED
||
local
->
slot_no
<
OS_THREAD_MAX_N
);
ut_ad
(
local
->
in_ibuf
==
FALSE
||
local
->
in_ibuf
==
TRUE
);
return
(
TRUE
);
}
...
...
@@ -211,7 +212,7 @@ thr_local_create(void)
local
->
id
=
os_thread_get_curr_id
();
local
->
handle
=
os_thread_get_curr
();
local
->
magic_n
=
THR_LOCAL_MAGIC_N
;
local
->
slot_no
=
ULINT_UNDEFINED
;
local
->
in_ibuf
=
FALSE
;
mutex_enter
(
&
thr_local_mutex
);
...
...
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