From 81582f3ce3834720a7be17303c47ace3dd0a421f Mon Sep 17 00:00:00 2001 From: Carlos Salguero Date: Fri, 1 Jun 2018 09:35:09 -0300 Subject: [PATCH] PT-1554 Fixed test for pt-query-digest + MySQL 8 --- t/pt-query-digest/samples/issue_1196-output-8.0.txt | 12 ++++++------ t/pt-query-digest/samples/slow007_explain_1-80.txt | 4 ++-- t/pt-query-digest/samples/slow007_explain_2-80.txt | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/t/pt-query-digest/samples/issue_1196-output-8.0.txt b/t/pt-query-digest/samples/issue_1196-output-8.0.txt index ff7fa7f9..fa997c37 100644 --- a/t/pt-query-digest/samples/issue_1196-output-8.0.txt +++ b/t/pt-query-digest/samples/issue_1196-output-8.0.txt @@ -1,10 +1,10 @@ # Profile -# Rank Query ID Response time Calls R/Call V/M Item -# ==== ================== ============= ===== ====== ===== ======== -# 1 0xD4B6A5CD2F2F485C 0.2148 100.0% 1 0.2148 0.00 SELECT t +# Rank Query ID Response time Calls R/Call V/M +# ==== ================================== ============= ===== ====== ===== +# 1 0x867E8F0D95B72228D4B6A5CD2F2F485C 0.2148 100.0% 1 0.2148 0.00 SELECT t -# Query 1: 0 QPS, 0x concurrency, ID 0xD4B6A5CD2F2F485C at byte 0 ________ +# Query 1: 0 QPS, 0x concurrency, ID 0x867E8F0D95B72228D4B6A5CD2F2F485C at byte 0 # This item is included in the report because it matches --limit. # Scores: V/M = 0.00 # Time range: all events occurred at 2010-12-14 16:12:28 @@ -45,7 +45,7 @@ select t.a, count(*) from t join t t2 using(a) group by 1 order by 2 desc limit # key_len: NULL # ref: NULL # rows: 14 -# filtered: 100 +# filtered: 100.00 # Extra: Using temporary; Using filesort # *************************** 2. row *************************** # id: 1 @@ -58,5 +58,5 @@ select t.a, count(*) from t join t t2 using(a) group by 1 order by 2 desc limit # key_len: NULL # ref: NULL # rows: 14 -# filtered: 10 +# filtered: 10.00 # Extra: Using where; Using join buffer (Block Nested Loop) diff --git a/t/pt-query-digest/samples/slow007_explain_1-80.txt b/t/pt-query-digest/samples/slow007_explain_1-80.txt index 47c5b355..4390427c 100644 --- a/t/pt-query-digest/samples/slow007_explain_1-80.txt +++ b/t/pt-query-digest/samples/slow007_explain_1-80.txt @@ -1,5 +1,5 @@ -# Query 1: 0 QPS, 0x concurrency, ID 0x8E306CDB7A800841 at byte 0 ________ +# Query 1: 0 QPS, 0x concurrency, ID 0x88F3D65BE48113F18E306CDB7A800841 at byte 0 # This item is included in the report because it matches --limit. # Scores: V/M = 0.00 # Time range: all events occurred at 2007-12-18 11:48:27 @@ -41,5 +41,5 @@ SELECT fruit FROM trees\G # key_len: 99 # ref: NULL # rows: 1 -# filtered: 100 +# filtered: 100.00 # Extra: Using index diff --git a/t/pt-query-digest/samples/slow007_explain_2-80.txt b/t/pt-query-digest/samples/slow007_explain_2-80.txt index 0e2413bc..57488ae9 100644 --- a/t/pt-query-digest/samples/slow007_explain_2-80.txt +++ b/t/pt-query-digest/samples/slow007_explain_2-80.txt @@ -1,5 +1,5 @@ -# Query 1: 0 QPS, 0x concurrency, ID 0x8E306CDB7A800841 at byte 0 ________ +# Query 1: 0 QPS, 0x concurrency, ID 0x88F3D65BE48113F18E306CDB7A800841 at byte 0 # This item is included in the report because it matches --limit. # Scores: V/M = 0.00 # Time range: all events occurred at 2007-12-18 11:48:27 @@ -41,5 +41,5 @@ SELECT fruit FROM trees\G # key_len: 99 # ref: NULL # rows: 3 -# filtered: 100 +# filtered: 100.00 # Extra: Using index