Fix tests

This commit is contained in:
avogar 2023-12-27 14:11:53 +00:00
parent f594ab34f5
commit 5497fa79ed

View File

@ -73,7 +73,9 @@ template <typename Type>
bool SerializationEnum<Type>::tryDeserializeTextQuoted(IColumn & column, ReadBuffer & istr, const FormatSettings &) const
{
std::string field_name;
readQuotedStringWithSQLStyle(field_name, istr);
if (!tryReadQuotedStringWithSQLStyle(field_name, istr))
return false;
FieldType x;
if (!ref_enum_values.tryGetValue(x, StringRef(field_name)))
return false;