Skip to content
Snippets Groups Projects
Unverified Commit b59273f6 authored by Richard Cordovano's avatar Richard Cordovano Committed by GitHub
Browse files

Merge pull request #2238 from gdicristofaro/host-delete-fix

host deletion sql union fix
parents 8a1719c8 8886d840
No related branches found
No related tags found
No related merge requests found
......@@ -233,8 +233,6 @@ public Long deleteHost(String name) throws TskCoreException {
+ "UNION\n"
+ "SELECT id, host_id FROM tsk_os_account_attributes\n"
+ "UNION\n"
+ "SELECT id FROM tsk_os_account_instances\n"
+ "UNION\n"
+ "SELECT id, host_id FROM tsk_host_address_map) children\n"
+ "INNER JOIN tsk_hosts h ON children.host_id = h.id WHERE LOWER(h.name)=LOWER(?)";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment