diff options
author | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2020-08-06 16:13:20 +0300 |
---|---|---|
committer | Vladislavs Sokurenko <vladislavs.sokurenko@zabbix.com> | 2020-08-06 16:15:56 +0300 |
commit | 9078bba3fef1dbe339e9a049a426b65d142009dc (patch) | |
tree | 3b3627a0b7b1b11f973b92b13879ce1c70d8b7c2 /src | |
parent | b0373f45adffee7bac5ed3dc563e87e8ff6e2131 (diff) |
........S. [ZBX-18169] fixed housekeeper not deleting history and trends for deleted items if storage period is not overridden
* commit '64ebd9722d634c676dc4b9bd2e8f6a68e3c75c17':
.D........ [ZBX-18169] added ChangeLog entry
........S. [ZBX-18169] fixed housekeeper not deleting history and trends for deleted items if storage period is not overridden
(cherry picked from commit 9c3ca976629e6c03d9aa6a8cfcdcca8729188fc4)
Diffstat (limited to 'src')
-rw-r--r-- | src/zabbix_server/housekeeper/housekeeper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zabbix_server/housekeeper/housekeeper.c b/src/zabbix_server/housekeeper/housekeeper.c index b8f98b41437..59861f47b7e 100644 --- a/src/zabbix_server/housekeeper/housekeeper.c +++ b/src/zabbix_server/housekeeper/housekeeper.c @@ -909,7 +909,7 @@ static int housekeeping_cleanup(void) /* assemble list of tables included in the housekeeping procedure */ for (table = hk_cleanup_tables; NULL != table->name; table++) { - if (ZBX_HK_MODE_REGULAR != *table->poption_mode || ZBX_HK_OPTION_ENABLED == *table->poption_global) + if (ZBX_HK_MODE_REGULAR != *table->poption_mode) continue; table_name_esc = DBdyn_escape_string(table->name); |