Minor cleanup in the query-times scanner.

This commit is contained in:
j2blake 2014-09-29 14:43:05 -04:00
parent 337c6b4c8b
commit 61fcd6f37b
3 changed files with 8 additions and 3 deletions

View file

@ -36,7 +36,7 @@ class LogFileParser
log_record = LogRecord.new
log_record.time = match[1].to_f
log_record.query = match[3].strip
log_record.query = match[3].strip.gsub(/\s+/, ' ')
log_record.stack = []
return log_record
end