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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f727fb45
Commit
f727fb45
authored
Sep 20, 2015
by
Oleksandr Byelkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix to make os_thread_id it compiled on windows.
parent
d39a2f7d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
sql/sql_class.cc
sql/sql_class.cc
+1
-1
sql/sql_class.h
sql/sql_class.h
+1
-1
sql/sql_show.cc
sql/sql_show.cc
+1
-1
No files found.
sql/sql_class.cc
View file @
f727fb45
...
...
@@ -2073,7 +2073,7 @@ bool THD::store_globals()
*/
mysys_var
->
id
=
thread_id
;
#ifdef __NR_gettid
os_thread_id
=
syscall
(
__NR_gettid
);
os_thread_id
=
(
uint32
)
syscall
(
__NR_gettid
);
#else
os_thread_id
=
0
;
#endif
...
...
sql/sql_class.h
View file @
f727fb45
...
...
@@ -2630,7 +2630,7 @@ class THD :public Statement,
ulong
query_plan_fsort_passes
;
pthread_t
real_id
;
/* For debugging */
my_thread_id
thread_id
;
pid_t
os_thread_id
;
uint32
os_thread_id
;
uint
tmp_table
,
global_disable_checkpoint
;
uint
server_status
,
open_options
;
enum
enum_thread_type
system_thread
;
...
...
sql/sql_show.cc
View file @
f727fb45
...
...
@@ -2334,7 +2334,7 @@ class thread_info :public ilink {
{
TRASH
(
ptr
,
size
);
}
ulong
thread_id
;
u
long
os_thread_id
;
u
int32
os_thread_id
;
ulonglong
start_time
;
uint
command
;
const
char
*
user
,
*
host
,
*
db
,
*
proc_info
,
*
state_info
;
...
...
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