Fix prepared report for statements without corresponding prep or exec.

This commit is contained in:
Daniel Nichter
2011-11-08 12:53:50 -07:00
parent 4f1fa405b7
commit 2f9ab4081a
9 changed files with 200 additions and 19 deletions

View File

@@ -8,10 +8,10 @@
# Count 50 1
# Exec time 99 30ms 30ms 30ms 30ms 30ms 0 30ms
# Query size 51 37 37 37 37 37 0 37
# Statement id 50 2 2 2 2 2 0 2
# Warning coun 0 0 0 0 0 0 0 0
# String:
# cmd Query
# Statement id 2
# Query_time distribution
# 1us
# 10us
@@ -39,10 +39,10 @@ SELECT i FROM d.t WHERE i="3"\G
# Count 50 1
# Exec time 0 286us 286us 286us 286us 286us 0 286us
# Query size 48 35 35 35 35 35 0 35
# Statement id 50 2 2 2 2 2 0 2
# Warning coun 0 0 0 0 0 0 0 0
# String:
# cmd Query
# Statement id 2
# Query_time distribution
# 1us
# 10us
@@ -64,4 +64,4 @@ SELECT i FROM d.t WHERE i=?\G
# Prepared statements
# Rank Query ID PREP PREP Response EXEC EXEC Response Item
# ==== ================== ==== ============= ==== ============= ==========
# 1 0x3F79759E7FA2F117 0 0.0003 0.9% 1 0.0303 99.1% SELECT d.t
# 1 0x3F79759E7FA2F117 1 0.0003 0.9% 1 0.0303 99.1% SELECT d.t

View File

@@ -0,0 +1,5 @@
# Prepared statements
# Rank Query ID PREP PREP Response EXEC EXEC Response Item
# ==== ================== ==== ============= ==== ============= ==========
# 1 0xAA8E9FA785927259 1 0.0003 100.0% 0 0.0000 0.0% SELECT d.t