Make SHOW CREATE TABLE multiline (because it more readable and also mysql like)

This commit is contained in:
Azat Khuzhin 2020-04-04 02:05:16 +03:00
parent 6d80ab1eed
commit 3116b2d29b

View File

@ -73,7 +73,7 @@ BlockInputStreamPtr InterpreterShowCreateQuery::executeImpl()
throw Exception("Unable to show the create query of " + show_query->table + ". Maybe it was created by the system.", ErrorCodes::THERE_IS_NO_QUERY);
std::stringstream stream;
formatAST(*create_query, stream, false, true);
formatAST(*create_query, stream, false, false);
String res = stream.str();
MutableColumnPtr column = ColumnString::create();