mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Fix parsing of multiline queries in interactive mode #13654
This commit is contained in:
parent
00da5148a1
commit
f80ae936ad
@ -127,7 +127,7 @@ String LineReader::readLine(const String & first_prompt, const String & second_p
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
line += (line.empty() ? "" : " ") + input;
|
line += (line.empty() ? "" : "\n") + input;
|
||||||
|
|
||||||
if (!need_next_line)
|
if (!need_next_line)
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user