diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-10-06 16:33:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-06 16:33:45 +0300 |
commit | 18e729d67007315368899fa3d6bc4deef7c4936c (patch) | |
tree | 7bf1fd9529855c0a20b65b22e89fd7bb87ad3556 /libnetdata | |
parent | 003bb6d8d4249e1050689a7dae8b1fe5b676c450 (diff) |
Code improvements (#16104)
* Remove unused functions
* No need for prepare statement because the function is not used frequently
* Remove db_meta check, already assumed valid
* Remove D_ACLK_SYNC and D_METADATALOG, fix log message
* Reuse prepared statements per run to avoid sql parsing all the time
* Keep rowid in charts and dimensions
* Host and chart labels keep rowids
* Don't store internal flags
* Remove commented out code
* Formatting
* Fix algorithm when updating dimension
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/log/log.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libnetdata/log/log.h b/libnetdata/log/log.h index 7e71550cbe..cf0865cf92 100644 --- a/libnetdata/log/log.h +++ b/libnetdata/log/log.h @@ -43,9 +43,6 @@ extern "C" { #define D_ANALYTICS 0x0000000080000000 #define D_RRDENGINE 0x0000000100000000 #define D_ACLK 0x0000000200000000 -#define D_METADATALOG 0x0000000400000000 -#define D_ACLK_SYNC 0x0000000800000000 -#define D_META_SYNC 0x0000001000000000 #define D_REPLICATION 0x0000002000000000 #define D_SYSTEM 0x8000000000000000 |