From 9b422e1e94106f871e0734b35a3b7587028e5d31 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 19 Dec 2012 09:37:29 +0000 Subject: [PATCH] minor fix for issue #309 --- plugins/generic/filesystem.py | 2 +- procs/mysql/write_file_limit.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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%--