Skip to content

Instantly share code, notes, and snippets.

@yoku0825
Created May 13, 2020 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yoku0825/2043280c2933d9e7bfb96caf1c354d5c to your computer and use it in GitHub Desktop.
Save yoku0825/2043280c2933d9e7bfb96caf1c354d5c to your computer and use it in GitHub Desktop.
pt-query-digest 3.2.0の /usr/bin/pt-query-digestに直接当てるようのパッチ
--- /usr/bin/pt-query-digest 2020-04-24 02:41:46.000000000 +0900
+++ ./pt-query-digest.ex 2020-05-13 14:43:23.213959417 +0900
@@ -4513,2 +4513,3 @@
No_index_used => ($event->{No_index_used} ? 'Yes' : 'No'),
+ Result_size => $packet->{data_len} || 0,
};
@@ -7692,2 +7693,3 @@
bytes
+ Result_size
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment