Fix parsing of multiline queries in interactive mode #13654

This commit is contained in:
Alexey Milovidov 2020-11-29 17:50:42 +03:00
parent 00da5148a1
commit f80ae936ad

View File

@ -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;