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
ae746336
Commit
ae746336
authored
Feb 23, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/mysql_src/mysql-4.1-clean
parents
a987ef39
eff5679d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
sql/lock.cc
sql/lock.cc
+3
-2
No files found.
sql/lock.cc
View file @
ae746336
...
@@ -715,7 +715,7 @@ static void print_lock_error(int error)
...
@@ -715,7 +715,7 @@ static void print_lock_error(int error)
least the first step above)
least the first step above)
global_read_lock_blocks_commit
global_read_lock_blocks_commit
count of threads which have the global read lock and block
count of threads which have the global read lock and block
commits (i.e. have completed the second step above)
commits (i.e.
are in or
have completed the second step above)
waiting_for_read_lock
waiting_for_read_lock
count of threads which want to take a global read lock but cannot
count of threads which want to take a global read lock but cannot
protect_against_global_read_lock
protect_against_global_read_lock
...
@@ -886,7 +886,8 @@ void start_waiting_global_read_lock(THD *thd)
...
@@ -886,7 +886,8 @@ void start_waiting_global_read_lock(THD *thd)
if
(
unlikely
(
thd
->
global_read_lock
))
if
(
unlikely
(
thd
->
global_read_lock
))
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
(
void
)
pthread_mutex_lock
(
&
LOCK_open
);
(
void
)
pthread_mutex_lock
(
&
LOCK_open
);
tmp
=
(
!--
protect_against_global_read_lock
&&
waiting_for_read_lock
);
tmp
=
(
!--
protect_against_global_read_lock
&&
(
waiting_for_read_lock
||
global_read_lock_blocks_commit
));
(
void
)
pthread_mutex_unlock
(
&
LOCK_open
);
(
void
)
pthread_mutex_unlock
(
&
LOCK_open
);
if
(
tmp
)
if
(
tmp
)
pthread_cond_broadcast
(
&
COND_refresh
);
pthread_cond_broadcast
(
&
COND_refresh
);
...
...
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