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
30f1d2f6
Commit
30f1d2f6
authored
Jan 22, 2018
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove useless method LatchCounter::sum_deregister()
parent
d04e1d4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
17 deletions
+2
-17
storage/innobase/include/sync0policy.h
storage/innobase/include/sync0policy.h
+1
-8
storage/innobase/include/sync0types.h
storage/innobase/include/sync0types.h
+1
-9
No files found.
storage/innobase/include/sync0policy.h
View file @
30f1d2f6
/*****************************************************************************
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
Copyright (c) 2017,
2018,
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
...
...
@@ -454,14 +454,7 @@ class BlockMutexPolicy
void
destroy
()
UNIV_NOTHROW
{
latch_meta_t
&
meta
=
sync_latch_get_meta
(
m_id
);
ut_ad
(
meta
.
get_id
()
==
m_id
);
meta
.
get_counter
()
->
sum_deregister
(
m_count
);
m_count
=
NULL
;
ut_d
(
MutexDebug
<
MutexType
>::
destroy
());
}
...
...
storage/innobase/include/sync0types.h
View file @
30f1d2f6
/*****************************************************************************
Copyright (c) 1995, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2017, MariaDB Corporation.
Copyright (c) 2017,
2018,
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
...
...
@@ -640,14 +640,6 @@ class LatchCounter {
return
(
count
);
}
/** Deregister the count. We don't do anything
@param[in] count The count instance to deregister */
void
sum_deregister
(
Count
*
count
)
UNIV_NOTHROW
{
/* Do nothing */
}
/** Register a single instance counter */
void
single_register
(
Count
*
count
)
UNIV_NOTHROW
...
...
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