summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-10-05 13:05:11 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-10-05 13:05:11 +0300
commit861cd4ce286e7b41cc38facfc86c358e15161a74 (patch)
tree535bc6492266293c9ba503de46ab4c1acc84809d
parent7fba16d53fe3c2fa241434e1ff715e6a3789c79a (diff)
downloadmariadb-git-861cd4ce286e7b41cc38facfc86c358e15161a74.tar.gz
MDEV-22871 fixup: Remove SYNC_BUF_PAGE_HASH
This was missed in commit 5155a300fab85e97217c75e3ba3c3ce78082dd8a.
-rw-r--r--storage/innobase/include/sync0types.h2
-rw-r--r--storage/innobase/sync/sync0debug.cc2
2 files changed, 0 insertions, 4 deletions
diff --git a/storage/innobase/include/sync0types.h b/storage/innobase/include/sync0types.h
index 910601ed1dd..9ea104642a1 100644
--- a/storage/innobase/include/sync0types.h
+++ b/storage/innobase/include/sync0types.h
@@ -192,8 +192,6 @@ enum latch_level_t {
SYNC_BUF_FLUSH_LIST,
- SYNC_BUF_PAGE_HASH,
-
SYNC_BUF_POOL,
SYNC_POOL,
diff --git a/storage/innobase/sync/sync0debug.cc b/storage/innobase/sync/sync0debug.cc
index 1787861f399..0c653344c12 100644
--- a/storage/innobase/sync/sync0debug.cc
+++ b/storage/innobase/sync/sync0debug.cc
@@ -455,7 +455,6 @@ LatchDebug::LatchDebug()
LEVEL_MAP_INSERT(SYNC_ANY_LATCH);
LEVEL_MAP_INSERT(SYNC_DOUBLEWRITE);
LEVEL_MAP_INSERT(SYNC_BUF_FLUSH_LIST);
- LEVEL_MAP_INSERT(SYNC_BUF_PAGE_HASH);
LEVEL_MAP_INSERT(SYNC_BUF_POOL);
LEVEL_MAP_INSERT(SYNC_POOL);
LEVEL_MAP_INSERT(SYNC_POOL_MANAGER);
@@ -767,7 +766,6 @@ LatchDebug::check_order(
case SYNC_POOL:
case SYNC_POOL_MANAGER:
case SYNC_RECV_WRITER:
- case SYNC_BUF_PAGE_HASH:
basic_check(latches, level, level);
break;