Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit c43f6e1

Browse files
pmenonapavlo
authored andcommitted
Add missing case for art when convert IndexType to string
1 parent d56b3e5 commit c43f6e1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/common/internal_types.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,10 +1086,8 @@ std::string IndexTypeToString(IndexType type) {
10861086
case IndexType::SKIPLIST: {
10871087
return "SKIPLIST";
10881088
}
1089-
default: {
1090-
throw ConversionException(
1091-
StringUtil::Format("No string conversion for IndexType value '%d'",
1092-
static_cast<int>(type)));
1089+
case IndexType::ART: {
1090+
return "ART";
10931091
}
10941092
}
10951093
return "INVALID";

0 commit comments

Comments
 (0)