]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/make_ingres_tables.in
Split messages line by line before sending it to syslog() fix #3325
[bacula/bacula] / bacula / src / cats / make_ingres_tables.in
index 3dd62447ca1f6f4ad12725af069c3aee0259bde4..ecd518feed7a5bd0f486d4941ebd956efbe68643 100755 (executable)
@@ -2,7 +2,7 @@
 #
 # shell script to create Bacula Ingres tables
 #
-bindir=@SQL_BINDIR@
+bindir=@INGRES_BINDIR@
 PATH="$bindir:$PATH"
 db_name=${db_name:-@db_name@}
 db_user=${db_user:-@db_user@}
@@ -72,6 +72,7 @@ CREATE TABLE file
    JobId               INTEGER         NOT NULL,
    PathId              INTEGER         NOT NULL,
    FilenameId          INTEGER         NOT NULL,
+   DeltaSeq            INTEGER         NOT NULL DEFAULT 0,
    MarkId              INTEGER         NOT NULL DEFAULT 0,
    LStat               VARBYTE(255)    NOT NULL,
    Md5                 VARBYTE(255)    NOT NULL,
@@ -491,7 +492,7 @@ INSERT INTO Status (JobStatus,JobStatusLong,Severity) VALUES
 INSERT INTO Status (JobStatus,JobStatusLong,Severity) VALUES
    ('i', 'Doing batch insert file records',15);
 
-INSERT INTO Version (VersionId) VALUES (12);
+INSERT INTO Version (VersionId) VALUES (@BDB_VERSION@);
 
 -- Make sure we have appropriate permissions
 \g