← Back to team overview

enterprise-support team mailing list archive

[Bug 1460848] [NEW] misreports on mariadb 10

 

Public bug reported:

--- tuning-primer.sh.orig	2015-05-18 19:12:32.664362370 -0700
+++ tuning-primer.sh	2015-05-28 13:46:23.015043721 -0700
@@ -7,7 +7,11 @@
 #	Writen by: Matthew Montgomery					#
 #	Report bugs to: https://bugs.launchpad.net/mysql-tuning-primer	#
 #	Inspired by: MySQLARd (http://gert.sos.be/demo/mysqlar/)	#
-#	Version: 1.6-r1		Released: 2011-08-06			#
+#	Version: 1.6-r1 	Released: 2011-08-06			#
+#       Edited lindsay@xxxxxxxxxx for mariadb support.                  #
+#	       fix: join_buffer_size          				#
+#	       fix: presence of innodb support in 10.0.0		#
+#	       fix: slow query log enable      	  			#
 #	Licenced under GPLv2                                            #
 #									#
 #########################################################################
@@ -579,7 +583,7 @@
 
 	mysql_status \'Slow_queries\' slow_queries
 	mysql_variable \'long_query_time\' long_query_time
-	mysql_variable \'log%queries\' log_slow_queries
+	mysql_variable \'slow_query_log\' log_slow_queries
 	
 	prefered_query_time=5
 	if [ -e /etc/my.cnf ] ; then
@@ -940,7 +944,7 @@
 
 	mysql_status \'Select_full_join\' select_full_join
 	mysql_status \'Select_range_check\' select_range_check
-	mysql_variable \'join_buffer%\' join_buffer_size
+	mysql_variable \'join_buffer_size\' join_buffer_size
 	
 	## Some 4K is dropped from join_buffer_size adding it back to make sane ##
 	## handling of human-readable conversion ## 
@@ -1246,6 +1250,14 @@
 	if [ "$mysql_version_num" -lt 050603 ] ; then
 	mysql_variable \'have_innodb\' have_innodb
 	fi
+	if [ "$mysql_version_num" -ge 100000 ] ; then
+	        mysql_variable \'ignore_builtin_innodb\' ignore_builtin_innodb
+	    	if [ "$ignore_builtin_innodb" = "ON" ] ; then
+		innodb_enabled=0
+		else
+		innodb_enabled=1
+		fi
+	fi
 	if [ "$mysql_version_num" -lt 050500 ] && [ "$have_innodb" = "YES" ] ; then
 	innodb_enabled=1
 	fi

** Affects: mysql-tuning-primer
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1460848

Title:
  misreports on mariadb 10

To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-tuning-primer/+bug/1460848/+subscriptions


Follow ups

References