[Openvas-commits] r5503 - in trunk/openvas-manager: . src

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 12 22:12:34 CEST 2009


Author: mattm
Date: 2009-10-12 22:12:33 +0200 (Mon, 12 Oct 2009)
New Revision: 5503

Modified:
   trunk/openvas-manager/ChangeLog
   trunk/openvas-manager/src/tasks_sql.h
Log:
	* src/tasks_sql.h (delete_task): Delete task files too.

Modified: trunk/openvas-manager/ChangeLog
===================================================================
--- trunk/openvas-manager/ChangeLog	2009-10-12 15:29:19 UTC (rev 5502)
+++ trunk/openvas-manager/ChangeLog	2009-10-12 20:12:33 UTC (rev 5503)
@@ -1,5 +1,9 @@
 2009-10-12  Matthew Mundell <matthew.mundell at intevation.de>
 
+	* src/tasks_sql.h (delete_task): Delete task files too.
+
+2009-10-12  Matthew Mundell <matthew.mundell at intevation.de>
+
 	* src/tasks_sql.h (manage_task_update_file): Add missing arg to sql call.
 
 2009-10-12  Matthew Mundell <matthew.mundell at intevation.de>

Modified: trunk/openvas-manager/src/tasks_sql.h
===================================================================
--- trunk/openvas-manager/src/tasks_sql.h	2009-10-12 15:29:19 UTC (rev 5502)
+++ trunk/openvas-manager/src/tasks_sql.h	2009-10-12 20:12:33 UTC (rev 5503)
@@ -2999,6 +2999,7 @@
 
   sql ("DELETE FROM results WHERE task = %llu;", task);
   sql ("DELETE FROM tasks WHERE ROWID = %llu;", task);
+  sql ("DELETE FROM task_files WHERE task = %llu;", task);
 
   return 0;
 }



More information about the Openvas-commits mailing list