Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
f45d77bb
Commit
f45d77bb
authored
Sep 01, 2014
by
Sebastien Ponce
Browse files
Fixed bug #104139: Cleaning logic should be more resilient to constraint violation errors
parent
f9119315
Changes
1
Hide whitespace changes
Inline
Side-by-side
castor/db/oracleGC.sql
View file @
f45d77bb
...
...
@@ -745,7 +745,7 @@ BEGIN
FOR
i
IN
1
..
dcIds
.
COUNT
LOOP
DECLARE
CONSTRAINT_VIOLATED
EXCEPTION
;
PRAGMA
EXCEPTION_INIT
(
CONSTRAINT_VIOLATED
,
-
1
);
PRAGMA
EXCEPTION_INIT
(
CONSTRAINT_VIOLATED
,
-
2292
);
BEGIN
DELETE
FROM
DiskCopy
WHERE
id
=
dcIds
(
i
);
EXCEPTION
WHEN
CONSTRAINT_VIOLATED
THEN
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment