Fix error

This commit is contained in:
Alexey Milovidov 2022-10-23 05:28:28 +02:00
parent c386898268
commit 8eb751fbe5

View File

@ -1487,7 +1487,9 @@ void ClientBase::cancelQuery()
if (need_render_progress && tty_buf)
progress_indication.clearProgressOutput(*tty_buf);
std::cout << "Cancelling query." << std::endl;
if (is_interactive)
std::cout << "Cancelling query." << std::endl;
cancelled = true;
}