]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/cats/drop_mysql_tables.cmd
Restore win32 dir from Branch-5.2 and update it
[bacula/bacula] / bacula / src / win32 / cats / drop_mysql_tables.cmd
1 @ECHO off\r
2 REM\r
3 REM Script to delete Bacula tables for MySQL\r
4 REM\r
5 \r
6 "@SQL_BINDIR@\mysql" %* < "@bin_dir_cmd@\drop_mysql_tables.sql"\r
7 SET RESULT=%ERRORLEVEL%\r
8 IF %RESULT% GTR 0 goto :ERROR\r
9 ECHO Deletion of Bacula MySQL tables succeeded.\r
10 EXIT /b 0\r
11 \r
12 :ERROR\r
13 ECHO Deletion of Bacula MySQL tables failed.\r
14 EXIT /b %RESULT%\r