Simply display zero if it's less or equals to 0.
else
                    global_context->applySettingChange(change
            }
        }
        if (const auto * use_query = parsed_query->as<ASTUseQuery>())
        {
            const String & new_database = use_query->database;
            /// If the client initiates the reconnection, it takes the settings from the config.
            config().setString("database", new_database
            /// If the connection initiates the reconnection, it uses its variable.
            connection->setDefaultDatabase(new_database
        }
    }
    /// Always print last block (if it was not printed already)
    if (profile_events.last_block)
    {
        initLogsOutputStream(
        progress_indication.clearProgressOutput(
        logs_out_stream->writeProfileEvents(profile_events.last_block
        logs_out_stream->flush(
        profile_events.last_block = {};
    }
    if (is_interactive)
    {
        std::cout << std::endl
            << processed_rows << " row" << (processed_rows == 1 ? "" : "s")
            << " in set. Elapsed: " << progress_indication.elapsedSeconds() << " sec. ";
        progress_indication.writeFinalProgress(
        std::cout << std::endl << std::endl;
    }