Commit 05df2c39 authored by Michael Davis's avatar Michael Davis
Browse files

[migration] Increases length of error message column for failed files/dirs

parent 29c3567b
......@@ -37,14 +37,14 @@ CREATE INDEX I_CTAFiles_vid_filesize ON CTAFilesHelper (vid, filesize);
CREATE TABLE CTAFilesFailed (fileid INTEGER NOT NULL PRIMARY KEY, parent_fileid INTEGER, filename VARCHAR2(255), disk_uid INTEGER, disk_gid INTEGER,
filemode INTEGER, btime INTEGER, ctime INTEGER, mtime INTEGER, classid INTEGER,
filesize INTEGER, checksum NUMBER, copyno INTEGER, VID VARCHAR2(6), fseq INTEGER,
blockId INTEGER, s_mtime INTEGER, retc INTEGER, message VARCHAR2(1024));
blockId INTEGER, s_mtime INTEGER, retc INTEGER, message VARCHAR2(2048));
CREATE INDEX I_CTAFilesFailed_parent_id ON CTAFilesFailed (parent_fileid);
CREATE INDEX I_CTAFilesFailed_vid_filesize ON CTAFilesFailed (vid, filesize);
CREATE GLOBAL TEMPORARY TABLE CTAFilesFailedTemp(
fileid INTEGER NOT NULL PRIMARY KEY, parent_fileid INTEGER, filename VARCHAR2(255), disk_uid INTEGER, disk_gid INTEGER, filemode INTEGER,
btime INTEGER, ctime INTEGER, mtime INTEGER, classid INTEGER, filesize INTEGER, checksum NUMBER, copyno INTEGER, VID VARCHAR2(6), fseq INTEGER,
blockId INTEGER, s_mtime INTEGER, retc INTEGER, message VARCHAR2(1024))
blockId INTEGER, s_mtime INTEGER, retc INTEGER, message VARCHAR2(2048))
ON COMMIT PRESERVE ROWS;
......@@ -62,11 +62,11 @@ CREATE TABLE CTADeltaDirsHelper (fileid INTEGER NOT NULL PRIMARY KEY, parent_fil
CREATE TABLE CTADirsFailed(
fileid INTEGER NOT NULL PRIMARY KEY, depth INTEGER, path VARCHAR2(2048), disk_uid INTEGER, disk_gid INTEGER,
filemode INTEGER, ctime INTEGER, mtime INTEGER, classid INTEGER, retc INTEGER, message VARCHAR2(1024));
filemode INTEGER, ctime INTEGER, mtime INTEGER, classid INTEGER, retc INTEGER, message VARCHAR2(2048));
CREATE GLOBAL TEMPORARY TABLE CTADirsFailedTemp(
fileid INTEGER NOT NULL PRIMARY KEY, depth INTEGER, path VARCHAR2(2048), disk_uid INTEGER, disk_gid INTEGER,
filemode INTEGER, ctime INTEGER, mtime INTEGER, classid INTEGER, retc INTEGER, message VARCHAR2(1024))
filemode INTEGER, ctime INTEGER, mtime INTEGER, classid INTEGER, retc INTEGER, message VARCHAR2(2048))
ON COMMIT PRESERVE ROWS;
-- Table to store the logs of the migration operations
......
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