[Tarantool-patches] [PATCH 2/5] iproto: drop unused iproto_type_is_select
Cyrill Gorcunov
gorcunov at gmail.com
Fri Jun 26 17:52:24 MSK 2020
Last time used in 1d979029177c2cfd869cbcf9f73884f6c00300fc
In-scope-of #4842
Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
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
More information about the Tarantool-patches
mailing list