Minor cleanup in the query-times scanner.
This commit is contained in:
parent
337c6b4c8b
commit
61fcd6f37b
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue