http://qs321.pair.com?node_id=728789


in reply to Re^3: In search of an efficient query abstractor
in thread In search of an efficient query abstractor

No, it's done one entry at a time. Each entry is a header with some commented lines, followed by a query. There are special cases, but it generally looks like

# Time: 071015 21:43:52 # User@Host: root[root] @ localhost [] # Query_time: 2 Lock_time: 0 Rows_sent: 1 Rows_examined: 0 use test; select sleep(2) from n;