From 6b871db331a664ac71f97641ff6d3635cf20762d Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Sun, 14 Jan 2018 17:18:34 +0000 Subject: [PATCH] 93_DbRep: old dumpfiles not deleted by dumpMySQL clientSide git-svn-id: https://svn.fhem.de/fhem/trunk@15888 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/CHANGED | 1 + fhem/FHEM/93_DbRep.pm | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fhem/CHANGED b/fhem/CHANGED index 787a761c8..dc23b12d4 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - bugfix: 93_DbRep: old dumpfiles not deleted by dumpMySQL clientSide - bugfix: 70_BRAVIA: typo fixed, 'set application' works now - feature: 93_DbRep: V7.4.0, new commands dumpSQLite/restoreSQLite, execute commands before/after set optimizeTables, diff --git a/fhem/FHEM/93_DbRep.pm b/fhem/FHEM/93_DbRep.pm index c0973af5f..69ab22ed6 100644 --- a/fhem/FHEM/93_DbRep.pm +++ b/fhem/FHEM/93_DbRep.pm @@ -37,6 +37,7 @@ ########################################################################################################################### # Versions History: # +# 7.4.1 14.01.2018 fix old dumpfiles not deleted by dumpMySQL clientSide # 7.4.0 09.01.2018 dumpSQLite/restoreSQLite, # backup/restore now available when DbLog-device has reopen xxxx running, # executeBeforeDump executeAfterDump also available for optimizeTables, vacuum, restoreMySQL, @@ -284,7 +285,7 @@ use Encode qw(encode_utf8); sub DbRep_Main($$;$); -my $DbRepVersion = "7.4.0"; +my $DbRepVersion = "7.4.1"; my %dbrep_col = ("DEVICE" => 64, "TYPE" => 64, @@ -5828,7 +5829,7 @@ sub mysql_DoDumpClientSide($) { my $ftp = $ftperr?encode_base64($ftperr,""):$ftpmsg?encode_base64($ftpmsg,""):0; # alte Dumpfiles löschen - my @fd = deldumpfiles($hash,$sql_file); + my @fd = deldumpfiles($hash,$backupfile); my $bfd = join(", ", @fd ); $bfd = $bfd?encode_base64($bfd,""):0;