diff --git a/plugins/generic/filesystem.py b/plugins/generic/filesystem.py index d4fdb40dc..98704220d 100644 --- a/plugins/generic/filesystem.py +++ b/plugins/generic/filesystem.py @@ -72,7 +72,7 @@ class Filesystem: infoMsg = "the remote file %s is larger than " % remoteFile infoMsg += "the local file %s" % localFile else: - infoMsg += ", but the size differs from the local " + infoMsg = "the remote file %s is smaller than " % remoteFile infoMsg += "file '%s' (%d bytes)" % (localFile, localFileSize) logger.info(infoMsg) diff --git a/procs/mysql/write_file_limit.sql b/procs/mysql/write_file_limit.sql index 47f6caaa1..58fccab0a 100644 --- a/procs/mysql/write_file_limit.sql +++ b/procs/mysql/write_file_limit.sql @@ -1 +1 @@ -LIMIT 1 INTO OUTFILE '%OUTFILE%' LINES TERMINATED BY 0x%HEXSTRING%-- +LIMIT 0,1 INTO OUTFILE '%OUTFILE%' LINES TERMINATED BY 0x%HEXSTRING%--