From: Marco van Wieringen Date: Sat, 17 Apr 2010 19:11:07 +0000 (+0200) Subject: Added extra check to scream when we encounter a database datatype which we don't... X-Git-Tag: Release-7.0.0~1925 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=56149ec4d2a32b48079bf87fbd0fb58d3729457a;p=bacula%2Fbacula 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. --- 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