[Fix](compile) Fix gcc compile on master (#33864)

This is imported by #33511. wrongly used

ColumnStr<T> ();

which violate C++20 standard(see https://wg21.cmeerw.net/cwg/issue2237) but still supported by clang up until now(see llvm/llvm-project#58112)
This commit is contained in:
zclllyybb
2024-04-19 15:50:11 +08:00
committed by yiguolei
parent 74590e4836
commit 25358564ca
72 changed files with 251 additions and 109 deletions

View File

@ -43,6 +43,7 @@ public:
res = create_decimal(27, 9, true);
if (!res) {
LOG(FATAL) << "Someting wrong with toDecimalNNOrZero() or toDecimalNNOrNull()";
__builtin_unreachable();
}
} else
res = std::make_shared<ToDataType>();