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
cef656b1
Commit
cef656b1
authored
Sep 11, 2021
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Windows warnings and tests for -DPLUGIN_PERFSCHEMA=NO
parent
c3341f84
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
mysql-test/main/mysql_upgrade_noengine.test
mysql-test/main/mysql_upgrade_noengine.test
+1
-0
sql/mdl.cc
sql/mdl.cc
+4
-0
No files found.
mysql-test/main/mysql_upgrade_noengine.test
View file @
cef656b1
#
# MDEV-11942 BLACKHOLE is no longer active in 10.1 by default, mysql_upgrade not handling the situation
#
source
include
/
mysql_upgrade_preparation
.
inc
;
source
include
/
have_innodb
.
inc
;
source
include
/
not_embedded
.
inc
;
...
...
sql/mdl.cc
View file @
cef656b1
...
...
@@ -2336,11 +2336,13 @@ MDL_context::acquire_lock(MDL_request *mdl_request, double lock_wait_timeout)
mysql_prlock_unlock
(
&
lock
->
m_rwlock
);
#ifdef HAVE_PSI_INTERFACE
PSI_metadata_locker_state
state
__attribute__
((
unused
));
PSI_metadata_locker
*
locker
=
NULL
;
if
(
ticket
->
m_psi
!=
NULL
)
locker
=
PSI_CALL_start_metadata_wait
(
&
state
,
ticket
->
m_psi
,
__FILE__
,
__LINE__
);
#endif
will_wait_for
(
ticket
);
...
...
@@ -2387,8 +2389,10 @@ MDL_context::acquire_lock(MDL_request *mdl_request, double lock_wait_timeout)
done_waiting_for
();
#ifdef HAVE_PSI_INTERFACE
if
(
locker
!=
NULL
)
PSI_CALL_end_metadata_wait
(
locker
,
0
);
#endif
if
(
wait_status
!=
MDL_wait
::
GRANTED
)
{
...
...
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