From 89962b85dd1fc6a2651be9fdfd17e2accd64ed78 Mon Sep 17 00:00:00 2001 From: Zhigao Tong Date: Mon, 8 Aug 2022 10:23:12 +0800 Subject: [PATCH] more comment --- dbms/src/Storages/Transaction/Collator.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dbms/src/Storages/Transaction/Collator.h b/dbms/src/Storages/Transaction/Collator.h index d0f11acda03..3e7410023bb 100644 --- a/dbms/src/Storages/Transaction/Collator.h +++ b/dbms/src/Storages/Transaction/Collator.h @@ -42,17 +42,22 @@ class ITiDBCollator : public ICollator UTF8_BIN = 83, }; + // internal wrapped collator types which are effective for `switch case` enum class CollatorType : uint32_t { + // bin UTF8MB4_BIN = 0, UTF8_BIN, LATIN1_BIN, ASCII_BIN, + // binary BINARY, + // ---- UTF8_GENERAL_CI, UTF8MB4_GENERAL_CI, UTF8_UNICODE_CI, UTF8MB4_UNICODE_CI, + // ---- MAX_, };