Commit 199bc671 authored by Marko Mäkelä's avatar Marko Mäkelä

Cleanup: Remove unused SYNC_REC_LOCK

SYNC_REC_LOCK was never used in the public history of InnoDB,
starting with commit 132e667b.
parent 34cf947e
...@@ -227,7 +227,6 @@ enum latch_level_t { ...@@ -227,7 +227,6 @@ enum latch_level_t {
SYNC_PAGE_CLEANER, SYNC_PAGE_CLEANER,
SYNC_PURGE_QUEUE, SYNC_PURGE_QUEUE,
SYNC_TRX_SYS_HEADER, SYNC_TRX_SYS_HEADER,
SYNC_REC_LOCK,
SYNC_THREADS, SYNC_THREADS,
SYNC_TRX, SYNC_TRX,
SYNC_TRX_SYS, SYNC_TRX_SYS,
......
...@@ -472,7 +472,6 @@ LatchDebug::LatchDebug() ...@@ -472,7 +472,6 @@ LatchDebug::LatchDebug()
LEVEL_MAP_INSERT(SYNC_PAGE_CLEANER); LEVEL_MAP_INSERT(SYNC_PAGE_CLEANER);
LEVEL_MAP_INSERT(SYNC_PURGE_QUEUE); LEVEL_MAP_INSERT(SYNC_PURGE_QUEUE);
LEVEL_MAP_INSERT(SYNC_TRX_SYS_HEADER); LEVEL_MAP_INSERT(SYNC_TRX_SYS_HEADER);
LEVEL_MAP_INSERT(SYNC_REC_LOCK);
LEVEL_MAP_INSERT(SYNC_THREADS); LEVEL_MAP_INSERT(SYNC_THREADS);
LEVEL_MAP_INSERT(SYNC_TRX); LEVEL_MAP_INSERT(SYNC_TRX);
LEVEL_MAP_INSERT(SYNC_TRX_SYS); LEVEL_MAP_INSERT(SYNC_TRX_SYS);
...@@ -843,15 +842,6 @@ LatchDebug::check_order( ...@@ -843,15 +842,6 @@ LatchDebug::check_order(
} }
break; break;
case SYNC_REC_LOCK:
if (find(latches, SYNC_LOCK_SYS) != 0) {
basic_check(latches, level, SYNC_REC_LOCK - 1);
} else {
basic_check(latches, level, SYNC_REC_LOCK);
}
break;
case SYNC_IBUF_BITMAP: case SYNC_IBUF_BITMAP:
/* Either the thread must own the master mutex to all /* Either the thread must own the master mutex to all
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment