Simply display zero if it's less or equals to 0.
connection->sendCancel(
    if (is_interactive)
    {
        progress_indication.clearProgressOutput(
        std::cout << "Cancelling query." << std::endl;
    }
    cancelled = true;
}
void ClientBase::processParsedSingleQuery(const String & full_query, const String & query_to_execute,
        ASTPtr parsed_query, std::optional<bool> echo_query_, bool report_error)
{
    resetOutput(
    have_error = false;
    cancelled = false;
    client_exception.reset(
    server_exception.reset(
    if (echo_query_ && *echo_query_)
    {
        writeString(full_query, std_out
        writeChar('\n', std_out
        std_out.next(
    }
    if (is_interactive)
    {
        global_context->setCurrentQueryId(""
        // Generate a new query_id
        fformat : query_id_formats)
        {
            writeString(query_id_format.first, std_out
            writeString(fmt::format(fmt::rume(query_id_format.second), fmt::arg("query_id", global_context->getCurrentQueryId())), std_out