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
e7bb9b7c
Commit
e7bb9b7c
authored
Aug 27, 2024
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-24923 fixup: Correct a function comment
parent
58bc83e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
storage/innobase/lock/lock0lock.cc
storage/innobase/lock/lock0lock.cc
+4
-6
No files found.
storage/innobase/lock/lock0lock.cc
View file @
e7bb9b7c
...
...
@@ -608,14 +608,13 @@ lock_rec_get_insert_intention(
return
(
lock
->
type_mode
&
LOCK_INSERT_INTENTION
);
}
#ifdef UNIV_DEBUG
#ifdef WITH_WSREP
#if defined UNIV_DEBUG && defined WITH_WSREP
/** Check if both conflicting lock transaction and other transaction
requesting record lock are brute force (BF). If they are check is
this BF-BF wait correct and if not report BF wait and assert.
@param
[in] lock_rec other waiting record
lock
@param
[in] trx trx requesting conflicting record
lock
@param
lock other waiting
lock
@param
trx transaction requesting conflicting
lock
*/
static
void
wsrep_assert_no_bf_bf_wait
(
const
lock_t
*
lock
,
const
trx_t
*
trx
)
{
...
...
@@ -682,8 +681,7 @@ static void wsrep_assert_no_bf_bf_wait(const lock_t *lock, const trx_t *trx)
/* BF-BF wait is a bug */
ut_error
;
}
#endif
/* WITH_WSREP */
#endif
/* UNIV_DEBUG */
#endif
/*********************************************************************//**
Checks if a lock request for a new lock has to wait for request lock2.
...
...
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