mysqlsla v1.8 is available at:
http://hackmysql.com/scripts/mysqlsla-1.8-DEBUG
I am releasing it publicly without updating the mysqlsla web page
or documentation because, instead, I am waiting until I finish
mysqlsla v2. After working with v1.8 I realized the code needed a
major re-think and overhaul. v2 will reflect this and will be a
far superior log hacking and analyzing tool, capable of far more
than v1.8 is now.
But for now, 1.8 fixes several good (or bad?) bugs:
- –only-hosts did not work for general logs
- Multi-line comments using /* */ caused everything after the first line to be ignored in raw logs
- “Change user” commands were not handled in general logs
- CHANGE, DROP and RESET statements were filtered out
- A certain variant of the Connect command in general logs was not handled
- A few …