From: Marco van Wieringen Date: Sat, 17 Apr 2010 20:34:21 +0000 (+0200) Subject: Update Ingres temporary table definitions with new datatypes and lengths. X-Git-Tag: Release-5.2.1~1459 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3e33190c49e3fdf5ad7852cc51c43ee4b0a72b8f;p=bacula%2Fbacula Update Ingres temporary table definitions with new datatypes and lengths. --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index 3320be942f..12da0d306b 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -646,8 +646,8 @@ const char *create_temp_basefile[5] = { "Name TEXT)", /* Ingres */ "DECLARE GLOBAL TEMPORARY TABLE basefile%lld (" - "Path VARCHAR(256) NOT NULL," - "Name VARCHAR(256) NOT NULL)" + "Path VARBYTE(32000) NOT NULL," + "Name VARBYTE(32000) NOT NULL)" "ON COMMIT PRESERVE ROWS WITH NORECOVERY" }; @@ -738,7 +738,7 @@ const char *create_deltabs[5] = { "PurgedFiles SMALLINT, " "FileSetId INTEGER, " "JobFiles INTEGER, " - "JobStatus char(1))" + "JobStatus CHAR(1))" "ON COMMIT PRESERVE ROWS WITH NORECOVERY" }; @@ -851,11 +851,11 @@ const char *uar_create_temp[5] = { "JobId INTEGER NOT NULL," "JobTDate BIGINT," "ClientId INTEGER," - "Level CHAR," + "Level CHAR(1)," "JobFiles INTEGER," "JobBytes BIGINT," - "StartTime VARCHAR(256)," - "VolumeName VARCHAR(256)," + "StartTime VARBYTE(32)," + "VolumeName VARBYTE(128)," "StartFile INTEGER," "VolSessionId INTEGER," "VolSessionTime INTEGER)"