From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f196.google.com (mail-lj1-f196.google.com [209.85.208.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 4D6D142EF5D for ; Fri, 26 Jun 2020 17:52:57 +0300 (MSK) Received: by mail-lj1-f196.google.com with SMTP id 9so10633037ljc.8 for ; Fri, 26 Jun 2020 07:52:57 -0700 (PDT) From: Cyrill Gorcunov Date: Fri, 26 Jun 2020 17:52:24 +0300 Message-Id: <20200626145227.1507426-3-gorcunov@gmail.com> In-Reply-To: <20200626145227.1507426-1-gorcunov@gmail.com> References: <20200626145227.1507426-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 2/5] iproto: drop unused iproto_type_is_select List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml Cc: Vladislav Shpilevoy Last time used in 1d979029177c2cfd869cbcf9f73884f6c00300fc In-scope-of #4842 Signed-off-by: Cyrill Gorcunov --- src/box/iproto_constants.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/box/iproto_constants.h b/src/box/iproto_constants.h index ccdb48780..57ae56d83 100644 --- a/src/box/iproto_constants.h +++ b/src/box/iproto_constants.h @@ -321,17 +321,6 @@ dml_request_key_map(uint32_t type) return iproto_body_key_map[type]; } -/** - * A read only request, CALL is included since it - * may be read-only, and there are separate checks - * for all database requests issues from CALL. - */ -static inline bool -iproto_type_is_select(uint32_t type) -{ - return type <= IPROTO_SELECT || type == IPROTO_CALL || type == IPROTO_EVAL; -} - /** A common request with a mandatory and simple body (key, tuple, ops) */ static inline bool iproto_type_is_request(uint32_t type) -- 2.26.2