mirror of
https://github.com/netdata/netdata.git
synced 2025-04-16 02:24:15 +00:00
Reset parameter when generating an alert snapshot (#19097)
Reset parameter
This commit is contained in:
parent
fa7a7c71bc
commit
7ccd72d621
1 changed files with 1 additions and 0 deletions
|
@ -536,6 +536,7 @@ void rebuild_host_alert_version_table(RRDHOST *host)
|
|||
if (!PREPARE_STATEMENT(db_meta, SQL_REBUILD_HOST_ALERT_VERSION_TABLE, &res))
|
||||
return;
|
||||
|
||||
param = 0;
|
||||
SQLITE_BIND_FAIL(done, sqlite3_bind_blob(res, ++param, &host->host_id.uuid, sizeof(host->host_id.uuid), SQLITE_STATIC));
|
||||
|
||||
param = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue