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
e11cae71
Commit
e11cae71
authored
Jul 27, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-25998 fixup: Assert that a mutex is being held
parent
da094188
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
storage/innobase/fil/fil0crypt.cc
storage/innobase/fil/fil0crypt.cc
+2
-2
No files found.
storage/innobase/fil/fil0crypt.cc
View file @
e11cae71
/*****************************************************************************
Copyright (C) 2013, 2015, Google Inc. All Rights Reserved.
Copyright (c) 2014, 202
0
, MariaDB Corporation.
Copyright (c) 2014, 202
1
, MariaDB Corporation.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -1103,7 +1103,7 @@ static bool fil_crypt_must_remove(const fil_space_t &space)
{
ut_ad
(
space
.
purpose
==
FIL_TYPE_TABLESPACE
);
fil_space_crypt_t
*
crypt_data
=
space
.
crypt_data
;
mutex_own
(
&
fil_system
->
mutex
);
ut_ad
(
mutex_own
(
&
fil_system
->
mutex
)
);
const
ulong
encrypt_tables
=
srv_encrypt_tables
;
if
(
!
crypt_data
)
return
!
encrypt_tables
;
...
...
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