]> git.sur5r.net Git - bacula/bacula/commitdiff
Update Ingres temporary table definitions with new datatypes and lengths.
authorMarco van Wieringen <mvw@planets.elm.net>
Sat, 17 Apr 2010 20:34:21 +0000 (22:34 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:12 +0000 (16:53 +0200)
bacula/src/cats/sql_cmds.c

index 3320be942fe56e9369a4df542bff33b8400ac868..12da0d306b1e19e6830b3da30f443950625461c1 100644 (file)
@@ -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)"