X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=bacula%2Fsrc%2Fcats%2Fdrop_bacula_tables.in;h=459d504661f2ad3ebb3e9c60182ede863fccf7ae;hb=fb71554fa28e81b6125c2063e028976df18334f2;hp=50ee20f9db96dbab8c5a584b2e2f5bc0cb3e9ea7;hpb=91580252aed0942e864d7b7b851ef8de8a3d03e5;p=bacula%2Fbacula diff --git a/bacula/src/cats/drop_bacula_tables.in b/bacula/src/cats/drop_bacula_tables.in index 50ee20f9db..459d504661 100755 --- a/bacula/src/cats/drop_bacula_tables.in +++ b/bacula/src/cats/drop_bacula_tables.in @@ -1,16 +1,20 @@ #!/bin/sh # # Drop Bacula tables -- works for whatever is configured, -# MySQL, SQLite, or PostgreSQL +# MySQL, SQLite, Ingres, or PostgreSQL # -if test xsqlite = x@DB_TYPE@ -o xsqlite3 = x@DB_TYPE@ ; then +if test xsqlite3 = x@DB_TYPE@ ; then @scriptdir@/drop_@DB_TYPE@_tables $* echo "Dropped SQLite tables" else if test xmysql = x@DB_TYPE@ ; then - echo "Dropping MySQL tables" + echo "Making MySQL tables" @scriptdir@/drop_mysql_tables $* echo "Dropped MySQL tables" + elif test xingres = x@DB_TYPE@ ; then + echo "Dropping Ingres tables" + @scriptdir@/drop_ingres_tables $* + echo "Dropped Ingres tables" else # hardcoded database name - should be a parameter @scriptdir@/drop_postgresql_tables $*