From fb79daa73aab9932f70e1de9cf2e48dbbdc988db Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Sat, 17 Apr 2010 21:11:07 +0200 Subject: [PATCH] Added extra check to scream when we encounter a database datatype which we don't support yet. This should never happen as we should implement new datatypes when we use them in the schema but some defensive programming doesn't hurt. --- bacula/src/cats/make_ingres_tables.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/cats/make_ingres_tables.in b/bacula/src/cats/make_ingres_tables.in index 05541b4236..668e4f318c 100755 --- a/bacula/src/cats/make_ingres_tables.in +++ b/bacula/src/cats/make_ingres_tables.in @@ -353,7 +353,7 @@ CREATE SEQUENCE LocationLog_Seq; CREATE TABLE LocationLog ( LocLogId INTEGER NOT NULL DEFAULT LocationLog_Seq.nextval, Date TIMESTAMP WITHOUT TIME ZONE, - Comment VARBYTE(4096) NOT NULL, + Comment VARBYTE(4096) NOT NULL, MediaId INTEGER DEFAULT 0, LocationId INTEGER DEFAULT 0, NewVolStatus VARBYTE(32) NOT NULL -- 2.39.5