Skip to content
Snippets Groups Projects
Commit 20da51f8 authored by Nicola Fulvio Calabria's avatar Nicola Fulvio Calabria
Browse files

Added fs_path to deleteNode

parent c83c2272
No related branches found
No related tags found
No related merge requests found
...@@ -489,7 +489,7 @@ public class NodeDAO { ...@@ -489,7 +489,7 @@ public class NodeDAO {
} }
String insertSql = "INSERT INTO deleted_node " String insertSql = "INSERT INTO deleted_node "
+ "(node_id, parent_path, parent_relative_path, " + "(node_id, parent_path, parent_relative_path, fs_path, "
+ "name, os_name, tstamp_wrapper_dir, type, location_id, format, " + "name, os_name, tstamp_wrapper_dir, type, location_id, format, "
+ "async_trans, job_id, creator_id, group_read, " + "async_trans, job_id, creator_id, group_read, "
+ "group_write, is_public, quota, content_type, content_encoding, " + "group_write, is_public, quota, content_type, content_encoding, "
...@@ -501,7 +501,7 @@ public class NodeDAO { ...@@ -501,7 +501,7 @@ public class NodeDAO {
+ "USING node p\n" + "USING node p\n"
+ "WHERE n.path <@ p.path AND p.node_id = id_from_vos_path(?)\n" + "WHERE n.path <@ p.path AND p.node_id = id_from_vos_path(?)\n"
+ "RETURNING\n" + "RETURNING\n"
+ "n.node_id, n.parent_path, n.parent_relative_path, " + "n.node_id, n.parent_path, n.parent_relative_path, n.fs_path, "
+ "n.name, n.os_name, n.tstamp_wrapper_dir, n.type, n.location_id, n.format, " + "n.name, n.os_name, n.tstamp_wrapper_dir, n.type, n.location_id, n.format, "
+ "n.async_trans, n.job_id, n.creator_id, n.group_read, " + "n.async_trans, n.job_id, n.creator_id, n.group_read, "
+ "n.group_write, n.is_public, n.quota, n.content_type, n.content_encoding, " + "n.group_write, n.is_public, n.quota, n.content_type, n.content_encoding, "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment