topdown/WP-Benchmark — pull request #6 by mpeshev (2013-09-09 17:19:16+00:00)
Title: Fix the database error listing code

The query error listing was broken, trying to display only the last broken query (out of N) and actually always displaying the latest query as broken. This patch is using the global variable `$EZSQL_ERROR` defined in `wp-db.php/print_error` for iterating through all errors and listing them (adding some styling as well).