From 982e1ce757a0001f03d02ff5f05f96fbdfe9bd1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 6 Sep 2011 10:18:03 +0300 Subject: [PATCH] Bug#11766305 - 59392: Remove thr0loc.c and ibuf_inside() - cleanup Remove the unused debug constants for the latching order level SYNC_THR_LOCAL. --- storage/innobase/include/sync0sync.h | 1 - storage/innobase/sync/sync0sync.c | 1 - 2 files changed, 2 deletions(-) diff --git a/storage/innobase/include/sync0sync.h b/storage/innobase/include/sync0sync.h index 9c0d5e3c302..f6b8897522f 100644 --- a/storage/innobase/include/sync0sync.h +++ b/storage/innobase/include/sync0sync.h @@ -684,7 +684,6 @@ or row lock! */ #define SYNC_BUF_FLUSH_LIST 145 /* Buffer flush list mutex */ #define SYNC_DOUBLEWRITE 140 #define SYNC_ANY_LATCH 135 -#define SYNC_THR_LOCAL 133 #define SYNC_MEM_HASH 131 #define SYNC_MEM_POOL 130 diff --git a/storage/innobase/sync/sync0sync.c b/storage/innobase/sync/sync0sync.c index 5de8dfe0a6f..8e082be33f7 100644 --- a/storage/innobase/sync/sync0sync.c +++ b/storage/innobase/sync/sync0sync.c @@ -1214,7 +1214,6 @@ sync_thread_add_level( case SYNC_WORK_QUEUE: case SYNC_LOG: case SYNC_LOG_FLUSH_ORDER: - case SYNC_THR_LOCAL: case SYNC_ANY_LATCH: case SYNC_FILE_FORMAT_TAG: case SYNC_DOUBLEWRITE: