From a074ce052676f08276f21326a68a0088f7d8458c Mon Sep 17 00:00:00 2001 From: Baron Schwartz Date: Mon, 4 Jun 2012 08:21:02 -0400 Subject: [PATCH] Make pt-index-usage commit after saving results to tables, which fixes tests in MySQL 5.5 --- bin/pt-index-usage | 1 + lib/IndexUsage.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/pt-index-usage b/bin/pt-index-usage index 9127a5f4..7c65535a 100755 --- a/bin/pt-index-usage +++ b/bin/pt-index-usage @@ -4861,6 +4861,7 @@ sub save_results { } } + $dbh->commit; return; } diff --git a/lib/IndexUsage.pm b/lib/IndexUsage.pm index 0c8fa145..08e384a4 100644 --- a/lib/IndexUsage.pm +++ b/lib/IndexUsage.pm @@ -308,6 +308,7 @@ sub save_results { } } + $dbh->commit; return; }