]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/cats/make_mysql_tables.in
Correct compile error
[bacula/bacula] / bacula / src / cats / make_mysql_tables.in
index 0c1ce16324ca4d61c60392cd4ccbe1b6de53e3be..513e5da2c472afc95dbf90ed2f9cea1f53ffcc0b 100644 (file)
@@ -3,9 +3,10 @@
 # shell script to create Bacula MySQL tables
 #
 bindir=@SQL_BINDIR@
+db_name=@db_name@
 
 if $bindir/mysql $* -f <<END-OF-DATA
-USE bacula;
+USE ${db_name};
 --
 -- Note, we use BLOB rather than TEXT because in MySQL,
 --  BLOBs are identical to TEXT except that BLOB is case