Skip to content

Commit

Permalink
Reset parameter when generating an alert snapshot (netdata#19097)
Browse files Browse the repository at this point in the history
Reset parameter
  • Loading branch information
stelfrag authored Nov 27, 2024
1 parent fa7a7c7 commit 7ccd72d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/database/sqlite/sqlite_aclk_alert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7ccd72d

Please sign in to comment.