]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/update_bacula_tables.in
Removed workaround for bug in Ingres with insert into tables with sequences from...
[bacula/bacula] / bacula / src / cats / update_bacula_tables.in
index 1e7edbadd30d3c06481ef26980e0b43b94cb8a32..cd3f3b8e9f6fc2b42ec87c2ee3a4893a96c83349 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh
 #
 # This routine alters the appropriately configured
-#  Bacula tables for PostgreSQL, MySQL, or SQLite.
+#  Bacula tables for PostgreSQL, Ingres, MySQL, or SQLite.
 #
-if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then
+if test xsqlite3 = x@DB_TYPE@ ; then
   echo "Altering SQLite tables"
   @scriptdir@/update_@DB_TYPE@_tables $*
 fi
@@ -11,6 +11,10 @@ if test xmysql = x@DB_TYPE@ ; then
   echo "Altering MySQL tables"
   @scriptdir@/update_mysql_tables $*
 fi
+if test xingres = x@DB_TYPE@ ; then
+  echo "Altering Ingres tables"
+  @scriptdir@/update_ingres_tables $*
+fi
 if test xpostgresql = x@DB_TYPE@ ; then
   echo "Altering PostgreSQL tables"
   @scriptdir@/update_postgresql_tables $*