mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 21:20:49 +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();
|
buf.setCheckpoint();
|
||||||
SCOPE_EXIT(buf.dropCheckpoint());
|
SCOPE_EXIT(buf.dropCheckpoint());
|
||||||
|
|
||||||
if (checkStringCaseInsensitive("NULL", buf))
|
if (checkStringCaseInsensitive("NULL", buf) && buf.eof())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
buf.rollbackToCheckpoint();
|
buf.rollbackToCheckpoint();
|
||||||
if (checkStringCaseInsensitive("ᴺᵁᴸᴸ", buf))
|
if (checkStringCaseInsensitive("ᴺᵁᴸᴸ", buf) && buf.eof())
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
buf.rollbackToCheckpoint();
|
buf.rollbackToCheckpoint();
|
||||||
|
Loading…
Reference in New Issue
Block a user