[Openvas-commits] r6728 - in trunk/openvas-manager: . src
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Feb 12 12:50:18 CET 2010
Author: mattm
Date: 2010-02-12 12:50:17 +0100 (Fri, 12 Feb 2010)
New Revision: 6728
Modified:
trunk/openvas-manager/ChangeLog
trunk/openvas-manager/src/tasks_sql.h
Log:
* src/tasks_sql.h (init_note_iterator): Include notes applied to all
results when the request is for a single result.
Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog 2010-02-12 11:27:07 UTC (rev 6727)
+++ trunk/openvas-manager/ChangeLog 2010-02-12 11:50:17 UTC (rev 6728)
@@ -1,5 +1,10 @@
2010-02-12 Matthew Mundell <matthew.mundell at intevation.de>
+ * src/tasks_sql.h (init_note_iterator): Include notes applied to all
+ results when the request is for a single result.
+
+2010-02-12 Matthew Mundell <matthew.mundell at intevation.de>
+
Add a "notes_details" attribute to GET_REPORT.
* src/tasks_sql.h (result_uuid, note_iterator_creation_time)
Modified: trunk/openvas-manager/src/tasks_sql.h
===================================================================
--- trunk/openvas-manager/src/tasks_sql.h 2010-02-12 11:27:07 UTC (rev 6727)
+++ trunk/openvas-manager/src/tasks_sql.h 2010-02-12 11:50:17 UTC (rev 6728)
@@ -11514,7 +11514,8 @@
assert (current_credentials.uuid);
if (result)
- result_clause = g_strdup_printf (" AND result = %llu", result);
+ result_clause = g_strdup_printf (" AND (result = %llu OR result = 0)",
+ result);
else
result_clause = NULL;
More information about the Openvas-commits
mailing list