[Tarantool-patches] [PATCH] iproto: stringify IPROTO_CONFIRM, IPROTO_ROLLBACK

Cyrill Gorcunov gorcunov at gmail.com
Thu Jul 23 15:57:58 MSK 2020


Fixes #5199

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 branch gorcunov/gh-5199-xlog-syncro

 src/box/iproto_constants.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/box/iproto_constants.h b/src/box/iproto_constants.h
index 6b850f101..4f5a2b195 100644
--- a/src/box/iproto_constants.h
+++ b/src/box/iproto_constants.h
@@ -276,6 +276,10 @@ iproto_type_name(uint32_t type)
 		return iproto_type_strs[type];
 
 	switch (type) {
+	case IPROTO_CONFIRM:
+		return "CONFIRM";
+	case IPROTO_ROLLBACK:
+		return "ROLLBACK";
 	case VY_INDEX_RUN_INFO:
 		return "RUNINFO";
 	case VY_INDEX_PAGE_INFO:
-- 
2.26.2



More information about the Tarantool-patches mailing list