]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/cats/make_bacula_tables.in
Modify MySQL accurate query with Delta
[bacula/bacula] / bacula / src / cats / make_bacula_tables.in
1 #!/bin/sh
2 #
3 # This routine makes the appropriately configured
4 #  Bacula tables for PostgreSQL, Ingres, MySQL, or SQLite.
5 #
6 if test xsqlite3 = x@DB_TYPE@ ; then
7   echo "Making SQLite tables"
8   @scriptdir@/make_@DB_TYPE@_tables $*
9 else
10   if test xmysql = x@DB_TYPE@ ; then 
11     echo "Making MySQL tables"
12     @scriptdir@/make_mysql_tables $*
13   elif test xingres = x@DB_TYPE@ ; then
14     echo "Making Ingres tables"
15     @scriptdir@/make_ingres_tables $*
16   else
17     echo "Making PostgreSQL tables"
18     @scriptdir@/make_postgresql_tables $*
19   fi
20 fi