mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Fixed error in clickhouse-client [#CLICKHOUSE-2]
This commit is contained in:
parent
8cb640ac54
commit
c80a0e549a
@ -459,7 +459,7 @@ private:
|
||||
while (ws > 0 && isWhitespaceASCII(line[ws - 1]))
|
||||
--ws;
|
||||
|
||||
if (ws == 0 && line.empty())
|
||||
if (ws == 0 || line.empty())
|
||||
continue;
|
||||
|
||||
bool ends_with_semicolon = line[ws - 1] == ';';
|
||||
|
Loading…
Reference in New Issue
Block a user