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
88369368
Commit
88369368
authored
Jul 12, 2004
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: LOCK TABLES clean-up, part 2
parent
a3233427
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
innobase/lock/lock0lock.c
innobase/lock/lock0lock.c
+4
-2
No files found.
innobase/lock/lock0lock.c
View file @
88369368
...
...
@@ -3509,6 +3509,10 @@ lock_table_dequeue(
lock_table_remove_low
(
in_lock
);
if
(
lock_get_type
(
in_lock
)
==
LOCK_TABLE_EXP
)
{
in_lock
->
trx
->
n_lock_table_exp
--
;
}
/* Check if waiting locks in the queue can now be granted: grant
locks if there are no conflicting locks ahead. */
...
...
@@ -3609,7 +3613,6 @@ lock_release_off_kernel(
if
(
lock_get_type
(
lock
)
==
LOCK_TABLE_EXP
)
{
ut_a
(
lock_get_mode
(
lock
)
==
LOCK_S
||
lock_get_mode
(
lock
)
==
LOCK_X
);
trx
->
n_lock_table_exp
--
;
}
}
...
...
@@ -3676,7 +3679,6 @@ lock_release_tables_off_kernel(
}
lock_table_dequeue
(
lock
);
trx
->
n_lock_table_exp
--
;
lock
=
UT_LIST_GET_LAST
(
trx
->
trx_locks
);
continue
;
...
...
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