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
278c29e5
Commit
278c29e5
authored
Mar 27, 2007
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
innobase_commit(): Correct the comments and formatting that were broken when
innodb_commit_concurrency was implemented.
parent
4f1615b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
handler/ha_innodb.cc
handler/ha_innodb.cc
+8
-8
No files found.
handler/ha_innodb.cc
View file @
278c29e5
...
@@ -1846,9 +1846,8 @@ innobase_commit(
...
@@ -1846,9 +1846,8 @@ innobase_commit(
/* Update the info whether we should skip XA steps that eat CPU time */
/* Update the info whether we should skip XA steps that eat CPU time */
trx
->
support_xa
=
(
ibool
)(
thd
->
variables
.
innodb_support_xa
);
trx
->
support_xa
=
(
ibool
)(
thd
->
variables
.
innodb_support_xa
);
/* Release a possible FIFO ticket and search latch. Since we will
/* Since we will reserve the kernel mutex, we have to release
reserve the kernel mutex, we have to release the search system latch
the search system latch first to obey the latching order. */
first to obey the latching order. */
if
(
trx
->
has_search_latch
)
{
if
(
trx
->
has_search_latch
)
{
trx_search_latch_release_if_reserved
(
trx
);
trx_search_latch_release_if_reserved
(
trx
);
...
@@ -1938,13 +1937,14 @@ innobase_commit(
...
@@ -1938,13 +1937,14 @@ innobase_commit(
trx_mark_sql_stat_end
(
trx
);
trx_mark_sql_stat_end
(
trx
);
}
}
/* Tell the InnoDB server that there might be work for utility
threads: */
if
(
trx
->
declared_to_be_inside_innodb
)
{
if
(
trx
->
declared_to_be_inside_innodb
)
{
/* Release our possible ticket in the FIFO */
/* Release our possible ticket in the FIFO */
srv_conc_force_exit_innodb
(
trx
);
srv_conc_force_exit_innodb
(
trx
);
}
}
/* Tell the InnoDB server that there might be work for utility
threads: */
srv_active_wake_master_thread
();
srv_active_wake_master_thread
();
DBUG_RETURN
(
0
);
DBUG_RETURN
(
0
);
...
...
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