Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
8ff53806
Commit
8ff53806
authored
11 years ago
by
Sebastien Ponce
Browse files
Options
Downloads
Patches
Plain Diff
Fixed presence of ';' in EXECUTE IMMEDIATE statements
parent
1f9cb357
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
upgrades/cns_2.1.13-9_to_2.1.14-2.sql
+2
-3
2 additions, 3 deletions
upgrades/cns_2.1.13-9_to_2.1.14-2.sql
upgrades/stager_2.1.13-9_to_2.1.14-2.sql
+2
-2
2 additions, 2 deletions
upgrades/stager_2.1.13-9_to_2.1.14-2.sql
with
4 additions
and
5 deletions
upgrades/cns_2.1.13-9_to_2.1.14-2.sql
+
2
−
3
View file @
8ff53806
...
...
@@ -64,9 +64,8 @@ DECLARE
BEGIN
SELECT
column_name
INTO
colName
FROM
all_tab_cols
WHERE
table_name
=
'CNS_FILE_METADATA'
AND
column_name
=
'STAGERTIME'
;
EXCEPTION
WHEN
NO_DATA_FOUND
THEN
EXECUTE
IMMEDIATE
'ALTER TABLE Cns_seg_metadata ADD (
gid NUMBER(6), creationTime NUMBER, lastModificationTime NUMBER);'
;
EXECUTE
IMMEDIATE
'ALTER TABLE Cns_file_metadata ADD (stagerTime NUMBER);'
;
EXECUTE
IMMEDIATE
'ALTER TABLE Cns_seg_metadata ADD (gid NUMBER(6), creationTime NUMBER, lastModificationTime NUMBER)'
;
EXECUTE
IMMEDIATE
'ALTER TABLE Cns_file_metadata ADD (stagerTime NUMBER)'
;
END
;
/
...
...
This diff is collapsed.
Click to expand it.
upgrades/stager_2.1.13-9_to_2.1.14-2.sql
+
2
−
2
View file @
8ff53806
...
...
@@ -979,8 +979,8 @@ DECLARE
colName VARCHAR2(100);
BEGIN
SELECT column_name INTO colName FROM all_tab_cols WHERE table_name = 'ACCOUNTING' AND ROWNUM < 2;
EXECUTE IMMEDIATE 'DROP TABLE Accounting
;
';
EXECUTE IMMEDIATE 'DROP VIEW AccountingSummary
;
';
EXECUTE IMMEDIATE 'DROP TABLE Accounting';
EXECUTE IMMEDIATE 'DROP VIEW AccountingSummary';
EXCEPTION WHEN NO_DATA_FOUND THEN
-- already dropped by a previous intervention, ignore
NULL;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment