SlowLogParser leaved host empty when --skip-name-resolve was on. Now uses IP if empty - 1262456

This commit is contained in:
Frank Cizmich
2014-09-08 19:00:40 -03:00
parent f0a0a8f737
commit 5e3eaa6c73
19 changed files with 56 additions and 46 deletions

View File

@@ -541,7 +541,7 @@ sub no_diff {
`cat $expected_output | sed $sed_args > /tmp/pt-test-outfile-trf`;
$expected_output = "/tmp/pt-test-outfile-trf";
}
die("entre");
# Determine cmd type and run it.
if ( ref $cmd eq 'CODE' ) {
output($cmd, file => $tmp_file);