mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-17 13:13:36 +00:00
Small fix in deserializeWholeText
This commit is contained in:
parent
d5c5a3213b
commit
7a37e24b52
@ -353,11 +353,11 @@ ReturnType SerializationNullable::deserializeWholeTextImpl(IColumn & column, Rea
|
||||
buf.setCheckpoint();
|
||||
SCOPE_EXIT(buf.dropCheckpoint());
|
||||
|
||||
if (checkStringCaseInsensitive("NULL", buf))
|
||||
if (checkStringCaseInsensitive("NULL", buf) && buf.eof())
|
||||
return true;
|
||||
|
||||
buf.rollbackToCheckpoint();
|
||||
if (checkStringCaseInsensitive("ᴺᵁᴸᴸ", buf))
|
||||
if (checkStringCaseInsensitive("ᴺᵁᴸᴸ", buf) && buf.eof())
|
||||
return true;
|
||||
|
||||
buf.rollbackToCheckpoint();
|
||||
|
Loading…
Reference in New Issue
Block a user