Skip to content

Commit

Permalink
Merge pull request #490 from timopollmeier/create_report-cache-fix-8.0
Browse files Browse the repository at this point in the history
Fix create_report cache update at end of results (8.0)
  • Loading branch information
mattmundell authored Apr 18, 2019
2 parents 9f25b02 + 041bb19 commit b0df4e8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/manage_sql.c
Original file line number Diff line number Diff line change
Expand Up @@ -22531,12 +22531,10 @@ create_report (array_t *results, const char *task_id, const char *task_name,
g_free (quoted_qod_type);
}

report_cache_counts (report, 1, 1, NULL);

if (first == 0)
{
sql (insert->str);
report_cache_counts (report, 0, 0, NULL);
report_cache_counts (report, 1, 1, NULL);
sql_commit ();
gvm_usleep (CREATE_REPORT_CHUNK_SLEEP);
sql_begin_immediate ();
Expand Down

0 comments on commit b0df4e8

Please sign in to comment.