Minor changes found reviewing to remove the draft status

This commit is contained in:
Pablo Marcos 2024-06-18 15:42:52 +00:00
parent 4c38f9fb34
commit 6a95f19958
5 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ slug: /en/operations/system-tables/error_log
---
# error_log
Contains history of error values from tables `system.errors`, periodically flushed to disk.
Contains history of error values from table `system.errors`, periodically flushed to disk.
Columns:
- `hostname` ([LowCardinality(String)](../../sql-reference/data-types/string.md)) — Hostname of the server executing the query.

View File

@ -626,6 +626,7 @@ namespace ErrorCodes
APPLY_FOR_ERROR_CODES(M)
#undef M
constexpr ErrorCode END = 1002;
ErrorPairHolder values[END + 1]{};
struct ErrorCodesNames

View File

@ -18,7 +18,6 @@ namespace ErrorCodes
{
/// ErrorCode identifier (index in array).
using ErrorCode = int;
constexpr ErrorCode END = 1002;
using Value = size_t;
using FramePointers = std::vector<void *>;
@ -34,7 +33,7 @@ namespace ErrorCodes
struct Error
{
/// Number of times Exception with this ErrorCode had been thrown.
/// Number of times Exception with this ErrorCode has been thrown.
Value count = 0;
/// Time of the last error.
UInt64 error_time_ms = 0;

View File

@ -41,7 +41,7 @@ public:
/// Launches a background thread to collect errors with interval
void startCollectError(size_t collect_interval_milliseconds_);
/// Stop background thread. Call before shutdown.
/// Stop background thread
void stopCollectError();
private:

View File

@ -44,7 +44,7 @@ public:
/// Launches a background thread to collect metrics with interval
void startCollectMetric(size_t collect_interval_milliseconds_);
/// Stop background thread. Call before shutdown.
/// Stop background thread
void stopCollectMetric();
private: