From d7ead51796ecba516cb9d3ef68860d95e383f0fe Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Thu, 17 May 2018 18:29:59 +0300 Subject: [PATCH] Added invalid FixedString size to the list of parse errors. --- dbms/src/DataStreams/BlockInputStreamFromRowInputStream.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dbms/src/DataStreams/BlockInputStreamFromRowInputStream.cpp b/dbms/src/DataStreams/BlockInputStreamFromRowInputStream.cpp index ce3770ff8d9..63dc9fe170a 100644 --- a/dbms/src/DataStreams/BlockInputStreamFromRowInputStream.cpp +++ b/dbms/src/DataStreams/BlockInputStreamFromRowInputStream.cpp @@ -14,6 +14,7 @@ namespace ErrorCodes extern const int CANNOT_READ_ARRAY_FROM_TEXT; extern const int CANNOT_PARSE_NUMBER; extern const int CANNOT_PARSE_UUID; + extern const int TOO_LARGE_STRING_SIZE; } @@ -37,7 +38,8 @@ static bool isParseError(int code) || code == ErrorCodes::CANNOT_PARSE_DATETIME || code == ErrorCodes::CANNOT_READ_ARRAY_FROM_TEXT || code == ErrorCodes::CANNOT_PARSE_NUMBER - || code == ErrorCodes::CANNOT_PARSE_UUID; + || code == ErrorCodes::CANNOT_PARSE_UUID + || code == ErrorCodes::TOO_LARGE_STRING_SIZE; }