]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/cats/drop_mysql_tables.cmd
Add all the new files from the Windows branch.
[bacula/bacula] / bacula / src / win32 / cats / drop_mysql_tables.cmd
1 rem
2 rem Script to delete Bacula tables for MySQL
3 rem
4
5 if %SQL_BINDIR%/mysql $* < drop_mysql_tables.sql
6 set RESULT=%ERRORLEVEL%
7 if %RESULT% GTR 0 goto :ERROR
8 echo "Deletion of Bacula MySQL tables succeeded."
9 exit /b 0
10
11 :ERROR
12 echo "Deletion of Bacula MySQL tables failed."
13 exit /b %RESULT%