]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/cats/make_mysql_tables.cmd
Fix remaining issues with Microsoft Visual Studio build.
[bacula/bacula] / bacula / src / win32 / cats / make_mysql_tables.cmd
1 rem\r
2 rem Script to create Bacula MySQL tables\r
3 rem\r
4 \r
5 %SQL_BINDIR%\mysql -f < make_mysql_tables.sql\r
6 set RESULT=%ERRORLEVEL%\r
7 if %RESULT% gt 0 goto :ERROR\r
8 echo "Creation of Bacula MySQL tables succeeded."\r
9 exit /b 0\r
10 \r
11 :ERROR\r
12 echo "Creation of Bacula MySQL tables failed."\r
13 exit /b %RESULT%\r