From 59bc87e4098dd020b9a7bada7917e28bbde73ee4 Mon Sep 17 00:00:00 2001 From: lgbo-ustc Date: Thu, 23 Dec 2021 17:53:19 +0800 Subject: [PATCH] remove unused errorcode --- src/Common/ErrorCodes.cpp | 2 -- src/Common/LRUCache.h | 5 ----- 2 files changed, 7 deletions(-) diff --git a/src/Common/ErrorCodes.cpp b/src/Common/ErrorCodes.cpp index 07e05683340..70d85433513 100644 --- a/src/Common/ErrorCodes.cpp +++ b/src/Common/ErrorCodes.cpp @@ -604,8 +604,6 @@ M(633, QUERY_IS_NOT_SUPPORTED_IN_WINDOW_VIEW) \ M(634, MONGODB_ERROR) \ \ - M(656, CANNOT_RELEASE) \ - \ M(999, KEEPER_EXCEPTION) \ M(1000, POCO_EXCEPTION) \ M(1001, STD_EXCEPTION) \ diff --git a/src/Common/LRUCache.h b/src/Common/LRUCache.h index c503619a7d0..4919bbffc32 100644 --- a/src/Common/LRUCache.h +++ b/src/Common/LRUCache.h @@ -12,11 +12,6 @@ namespace DB { -namespace ErrorCodes -{ - extern const int CANNOT_RELEASE; -} - template struct TrivialWeightFunction {