Skip to content

Commit

Permalink
more comment
Browse files Browse the repository at this point in the history
  • Loading branch information
solotzg committed Aug 8, 2022
1 parent 8e8d659 commit 89962b8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dbms/src/Storages/Transaction/Collator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_,
};

Expand Down

0 comments on commit 89962b8

Please sign in to comment.