Browse Source

Clear old bugs so they dont get sent twice

root 4 years ago
parent
commit
c975bc4310
3 changed files with 2 additions and 0 deletions
  1. 1 0
      LAUNCH EQ2EMU.bat
  2. BIN
      LAUNCH EQ2EMU.rar
  3. 1 0
      options/clearbugs.sql

+ 1 - 0
LAUNCH EQ2EMU.bat

@@ -65,6 +65,7 @@ if /I "%SENDBUGS%" EQU "1" echo [Uploading BUG Reports to Devn00b]
 if /I "%SENDBUGS%" EQU "1" cd mariadb\bin\
 if /I "%SENDBUGS%" EQU "1" mysqldump -ueq2emu -peq2emu --no-create-db --no-create-info --complete-insert --skip-add-locks --skip-add-drop-table --skip-comments --compact eq2emu bugs >bugs.sql
 if /I "%SENDBUGS%" EQU "1" mysql -ueq2emu -pidontgive2shits --host=eq2db.devn00b.com --database=eq2emu <bugs.sql
+if /I "%SENDBUGS%" EQU "1" mysql -ueq2emu -peq2emu --database=eq2emu < options\clearbugs.sql
 if /I "%SENDBUGS%" EQU "1" del bugs.sql
 if /I "%SENDBUGS%" EQU "1" echo [Completed BUG Report Upload. Thank You.]
 if /I "%SENDBUGS%" EQU "1" cd ..\..

BIN
LAUNCH EQ2EMU.rar


+ 1 - 0
options/clearbugs.sql

@@ -0,0 +1 @@
+delete from bugs;