Code review comment for lp:~ilyash/percona-toolkit/tcpdump-raw-queries

Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

Thanks for the branch; it's well-written. I think, however, that there's an existing solution for this:

$ ./pt-query-digest --type tcpdump ../t/lib/samples/tcpdump/tcpdump001.txt --print --no-report

# Time: 090412 09:50:16.805123
# Client: 127.0.0.1:42167
# Thread_id: 4294967296
# Query_time: 0.000274 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
select "hello world" as greeting;

So the output is a little different, but still has the same info. Does this work for you?

« Back to merge proposal