Skip to content
Snippets Groups Projects
Commit 760e23c9 authored by Sebastien Ponce's avatar Sebastien Ponce
Browse files

Changed misleading comment

parent cb2d2075
Branches
Tags
No related merge requests found
......@@ -248,8 +248,8 @@ BEGIN
0, inSegEntry.checksum_name, inSegEntry.checksum);
EXCEPTION WHEN CONSTRAINT_VIOLATED THEN
-- We assume the PK was violated, i.e. a previous segment already exists and we need to update it.
-- XXX This should not happen in post-2.1.13 versions as we drop previous versions of the segments
-- XXX at file creation/truncation time!
-- XXX This won't happen anymore once we will drop previous versions of the segments at
-- XXX file creation/truncation time!
UPDATE Cns_seg_metadata
SET fsec = 1, segSize = inSegEntry.segSize, s_status = '-',
vid = inSegEntry.vid, fseq = inSegEntry.fseq, blockId = inSegEntry.blockId,
......
......@@ -288,8 +288,8 @@ BEGIN
0, segEntry.checksum_name, segEntry.checksum);
EXCEPTION WHEN CONSTRAINT_VIOLATED THEN
-- We assume the PK was violated, i.e. a previous segment already exists and we need to update it.
-- XXX This should not happen in post-2.1.13 versions as we drop previous versions of the segments
-- XXX at file creation/truncation time!
-- XXX This won't happen anymore once we will drop previous versions of the segments at
-- XXX file creation/truncation time!
UPDATE Cns_seg_metadata
SET fsec = 1, segSize = segEntry.segSize, s_status = '-',
vid = segEntry.vid, fseq = segEntry.fseq, blockId = segEntry.blockId,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment