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