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
eb2e0744
Commit
eb2e0744
authored
May 22, 2023
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.5 into 10.6
parents
f3071602
3f59bbee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletion
+11
-1
.gitlab-ci.yml
.gitlab-ci.yml
+1
-0
sql/handler.cc
sql/handler.cc
+7
-0
storage/innobase/fil/fil0fil.cc
storage/innobase/fil/fil0fil.cc
+3
-1
No files found.
.gitlab-ci.yml
View file @
eb2e0744
...
...
@@ -331,6 +331,7 @@ mysql-test-run-asan:
needs
:
-
"
fedora-sanitizer:
[-DWITH_ASAN=YES]"
<<
:
*mysql-test-run-def
allow_failure
:
true
artifacts
:
when
:
always
# Also show results when tests fail
reports
:
...
...
sql/handler.cc
View file @
eb2e0744
...
...
@@ -7970,6 +7970,9 @@ Compare_keys handler::compare_key_parts(const Field &old_field,
concurrent accesses. And it's an overkill to take LOCK_plugin and
iterate the whole installed_htons[] array every time.
@note Object victim_thd is not guaranteed to exist after this
function returns.
@param bf_thd brute force THD asking for the abort
@param victim_thd victim THD to be aborted
...
...
@@ -7983,6 +7986,8 @@ int ha_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal)
if
(
!
WSREP
(
bf_thd
)
&&
!
(
bf_thd
->
variables
.
wsrep_OSU_method
==
WSREP_OSU_RSU
&&
wsrep_thd_is_toi
(
bf_thd
)))
{
mysql_mutex_unlock
(
&
victim_thd
->
LOCK_thd_data
);
mysql_mutex_unlock
(
&
victim_thd
->
LOCK_thd_kill
);
DBUG_RETURN
(
0
);
}
...
...
@@ -7994,6 +7999,8 @@ int ha_abort_transaction(THD *bf_thd, THD *victim_thd, my_bool signal)
else
{
WSREP_WARN
(
"Cannot abort InnoDB transaction"
);
mysql_mutex_unlock
(
&
victim_thd
->
LOCK_thd_data
);
mysql_mutex_unlock
(
&
victim_thd
->
LOCK_thd_kill
);
}
DBUG_RETURN
(
0
);
...
...
storage/innobase/fil/fil0fil.cc
View file @
eb2e0744
...
...
@@ -446,7 +446,9 @@ static bool fil_node_open_file(fil_node_t *node)
}
}
return
fil_node_open_file_low
(
node
);
/* The node can be opened beween releasing and acquiring fil_system.mutex
in the above code */
return
node
->
is_open
()
||
fil_node_open_file_low
(
node
);
}
/** Close the file handle. */
...
...
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