mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-30 03:22:14 +00:00
dbms: logging query in one line [#METR-15530].
This commit is contained in:
parent
ed4c4292aa
commit
8eaa75dadb
@ -83,7 +83,9 @@ void executeQuery(
|
||||
|
||||
String query(begin, query_size);
|
||||
|
||||
LOG_DEBUG(&Logger::get("executeQuery"), query);
|
||||
String logged_query = query;
|
||||
std::replace(logged_query.begin(), logged_query.end(), '\n', ' ');
|
||||
LOG_DEBUG(&Logger::get("executeQuery"), logged_query);
|
||||
|
||||
/// Положим запрос в список процессов. Но запрос SHOW PROCESSLIST класть не будем.
|
||||
ProcessList::EntryPtr process_list_entry;
|
||||
|
Loading…
Reference in New Issue
Block a user