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
acb54a24
Commit
acb54a24
authored
Apr 28, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: make UNIV_SYNC_DEBUG useable again
parent
93797a0d
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
innobase/include/sync0sync.h
innobase/include/sync0sync.h
+1
-1
innobase/srv/srv0start.c
innobase/srv/srv0start.c
+1
-0
innobase/sync/sync0arr.c
innobase/sync/sync0arr.c
+0
-1
innobase/sync/sync0sync.c
innobase/sync/sync0sync.c
+3
-3
No files found.
innobase/include/sync0sync.h
View file @
acb54a24
...
...
@@ -218,7 +218,7 @@ void
mutex_get_debug_info
(
/*=================*/
mutex_t
*
mutex
,
/* in: mutex */
c
har
**
file_name
,
/* out: file where requested */
c
onst
char
**
file_name
,
/* out: file where requested */
ulint
*
line
,
/* out: line where requested */
os_thread_id_t
*
thread_id
);
/* out: id of the thread which owns
the mutex */
...
...
innobase/srv/srv0start.c
View file @
acb54a24
...
...
@@ -1022,6 +1022,7 @@ NetWare. */
}
mutex_create
(
&
srv_monitor_file_mutex
);
mutex_set_level
(
&
srv_monitor_file_mutex
,
SYNC_NO_ORDER_CHECK
);
srv_monitor_file_name
=
mem_alloc
(
strlen
(
fil_path_to_mysql_datadir
)
+
20
+
sizeof
"/innodb_status."
);
...
...
innobase/sync/sync0arr.c
View file @
acb54a24
...
...
@@ -613,7 +613,6 @@ sync_array_detect_deadlock(
rw_lock_t
*
lock
;
os_thread_id_t
thread
;
ibool
ret
;
rw_lock_t
*
lock
;
rw_lock_debug_t
*
debug
;
ut_a
(
arr
&&
start
&&
cell
);
...
...
innobase/sync/sync0sync.c
View file @
acb54a24
...
...
@@ -515,7 +515,7 @@ void
mutex_get_debug_info
(
/*=================*/
mutex_t
*
mutex
,
/* in: mutex */
c
har
**
file_name
,
/* out: file where requested */
c
onst
char
**
file_name
,
/* out: file where requested */
ulint
*
line
,
/* out: line where requested */
os_thread_id_t
*
thread_id
)
/* out: id of the thread which owns
the mutex */
...
...
@@ -574,7 +574,7 @@ mutex_list_print_info(void)
/*=======================*/
{
mutex_t
*
mutex
;
c
har
*
file_name
;
c
onst
char
*
file_name
;
ulint
line
;
os_thread_id_t
thread_id
;
ulint
count
=
0
;
...
...
@@ -772,7 +772,7 @@ sync_thread_levels_g(
if
(
mutex_get_lock_word
(
mutex
)
!=
0
)
{
#ifdef UNIV_SYNC_DEBUG
c
har
*
file_name
;
c
onst
char
*
file_name
;
ulint
line
;
os_thread_id_t
thread_id
;
...
...
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