Skip to content
GitLab
Menu
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
556d8a6c
Commit
556d8a6c
authored
Sep 26, 2019
by
Giuseppe Lo Presti
Browse files
Renamed field following commit
668e99ba
parent
6a8f03ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
migration/oracle_catalogue_castor_migration.sql
View file @
556d8a6c
...
...
@@ -90,7 +90,7 @@ BEGIN
AND
BITAND
(
TS
.
status
,
2
)
=
0
AND
BITAND
(
TS
.
status
,
32
)
=
0
-- not already EXPORTED or ARCHIVED
AND
TS
.
poolname
=
inTapePool
)
LOOP
INSERT
INTO
Tape
(
vid
,
media_type
,
vendor
,
logical_library_name
,
tape_pool_name
,
encryption_key
,
capacity_in_bytes
,
data_in_bytes
,
last_fseq
,
encryption_key
_name
,
capacity_in_bytes
,
data_in_bytes
,
last_fseq
,
is_disabled
,
is_full
,
is_read_only
,
is_from_castor
,
label_drive
,
label_time
,
last_read_drive
,
last_read_time
,
read_mount_count
,
last_write_drive
,
last_write_time
,
write_mount_count
,
...
...
@@ -109,7 +109,7 @@ BEGIN
T
.
manufacturer
,
T
.
dgn
,
varTapePoolName
,
'-'
,
-- blank encryption key
'-'
,
-- blank encryption key
name
decode
(
T
.
density
,
-- capacity: only one of the options below (see #488)
'7000GC'
,
7000000000000
,
'8000GC'
,
8000000000000
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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