From c5765f02133259b40d9932eb7d35ba5c1665bad9 Mon Sep 17 00:00:00 2001 From: jfcoz Date: Thu, 12 Dec 2019 13:31:23 +0100 Subject: [PATCH] Include max_allowed_packet in thread memory size Fix https://github.com/major/MySQLTuner-perl/issues/378 Fix https://github.com/major/MySQLTuner-perl/issues/456 --- mysqltuner.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/mysqltuner.pl b/mysqltuner.pl index 9323ff4..a4d3686 100755 --- a/mysqltuner.pl +++ b/mysqltuner.pl @@ -2393,6 +2393,7 @@ sub calculations { $myvar{'read_rnd_buffer_size'} + $myvar{'sort_buffer_size'} + $myvar{'thread_stack'} + + $myvar{'max_allowed_packet'} + $myvar{'join_buffer_size'}; } else {