Commit dda9d4e7 authored by Michael Davis's avatar Michael Davis
Browse files

[migration] Sets tape dirty bit to 1 after importing all tape files

parent 71cbce25
......@@ -275,7 +275,7 @@ BEGIN
UNION ALL
SELECT vid, sum(filesize) totalpervid FROM CNS_CTAFiles2ndCopyHelper GROUP BY vid) LOOP
UPDATE Tape
SET data_in_bytes = data_in_bytes + v.totalpervid
SET dirty = 1, data_in_bytes = data_in_bytes + v.totalpervid
WHERE vid = v.vid;
END LOOP;
COMMIT;
......
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