Fix for 1176010: pt-query-digest should know how to group quoted and unquoted database names

This commit is contained in:
Brian Fraser
2013-05-03 10:19:42 -03:00
parent cb68de027d
commit 5cce618f86
4 changed files with 104 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
# User@Host: meow[meow] @ [1.2.3.8]
# Thread_id: 5 Schema: db
# Query_time: 0.000002 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
# No InnoDB statistics available for this query
# administrator command: Quit;
# User@Host: meow[meow] @ [1.2.3.8]
# Thread_id: 6 Schema: db2
# Query_time: 0.000899 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
# No InnoDB statistics available for this query
use db;
SET NAMES utf8;
# User@Host: meow[meow] @ [1.2.3.8]
# Thread_id: 7 Schema: db
# Query_time: 0.018799 Lock_time: 0.009453 Rows_sent: 0 Rows_examined: 0
# No InnoDB statistics available for this query
use `db`;
# administrator command: Quit;
# User@Host: meow[meow] @ [1.2.3.8]
# Thread_id: 9 Schema: db2
# Query_time: 0.000899 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
# No InnoDB statistics available for this query
use db;
SET NAMES utf8;