Commit 87a0b62a authored by Michael Davis's avatar Michael Davis
Browse files

[migration] Removes STORAGE_CLASS.DISK_INSTANCE_NAME

parent b03d51ca
......@@ -184,13 +184,12 @@ BEGIN
WHERE classid IN
(SELECT classid FROM CNS_CTAFilesHelper)) LOOP
BEGIN
INSERT INTO Storage_Class (storage_class_id, disk_instance_name,
INSERT INTO Storage_Class (storage_class_id,
storage_class_name, nb_copies, user_comment,
creation_log_user_name, creation_log_host_name, creation_log_time,
last_update_user_name, last_update_host_name, last_update_time)
VALUES (
c.classid,
inEOSCTAInstance,
c.classname,
c.nbcopies,
'Imported from CASTOR',
......@@ -199,7 +198,6 @@ BEGIN
);
EXCEPTION WHEN CONSTRAINT_VIOLATED THEN
UPDATE Storage_Class SET -- it is already present, update it with the current values
disk_instance_name = inEOSCTAInstance,
storage_class_name = c.classname,
nb_copies = c.nbcopies,
user_comment = 'Re-imported from CASTOR',
......
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