mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-12 17:32:32 +00:00
change as requested
This commit is contained in:
parent
d7cb43a20b
commit
4fc1f131d3
@ -556,15 +556,13 @@ namespace
|
||||
Pos end = str_ref.data + str_ref.size;
|
||||
for (const auto & instruction : instructions)
|
||||
{
|
||||
// std::cout << "instruction:" << instruction.toString() << std::endl;
|
||||
cur = instruction.perform(cur, end, date);
|
||||
// std::cout << "date:" << date.toString() << std::endl;
|
||||
}
|
||||
|
||||
// Ensure all input was consumed.
|
||||
if (cur < end)
|
||||
throw Exception(
|
||||
ErrorCodes::LOGICAL_ERROR,
|
||||
ErrorCodes::CANNOT_PARSE_TEXT,
|
||||
"Invalid format input {} is malformed at {}",
|
||||
str_ref.toView(),
|
||||
std::string_view(cur, end - cur));
|
||||
|
Loading…
Reference in New Issue
Block a user