Commit 5b7fe10a authored by Giuseppe Lo Presti's avatar Giuseppe Lo Presti
Browse files

[migration] further semplification following removal of full path from the schema

parent a71677f5
......@@ -217,13 +217,12 @@ BEGIN
(archive_file_id, disk_instance_name, disk_file_id,
disk_file_uid, disk_file_gid, size_in_bytes, checksum_adler32,
storage_class_id, creation_time, reconciliation_time, is_deleted) (
SELECT /*+ PARALLEL(F) PARALLEL(D) */
F.fileid, inEOSCTAInstance, F.fileid, F.disk_uid, F.disk_gid, F.filesize, F.checksum,
F.classid, F.btime, 0, '0'
FROM CNS_CTAFilesHelper F, CNS_Dirs_Full_Path D
WHERE F.parent_fileid = D.fileid
-- no need to exclude already existing files because of dual copies
-- as this is validated before hand in the cns_filesForCTAExport procedure
SELECT /*+ PARALLEL(F) */
F.fileid, inEOSCTAInstance, F.fileid, F.disk_uid, F.disk_gid, F.filesize, F.checksum,
F.classid, F.btime, 0, '0'
FROM CNS_CTAFilesHelper F
-- no need to exclude already existing files because of dual copies
-- as this is validated before hand in the cns_filesForCTAExport procedure
);
CNS_ctaLog(inTapePool, 'Archive files import completed');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment