Script ends at Join section

Bug #1202940 reported by Robert Sanchez
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
MySQL Tuning Primer Script
Confirmed
Undecided
Unassigned

Bug Description

The script ends with the following error:

/mysql_scripts/tuning-primer.sh: 401: local: 2097152: bad variable name

right after outputting the header for the JOIN section.

Relevant system information:

# mysql -V
mysql Ver 15.1 Distrib 5.5.31-MariaDB, for debian-linux-gnu (i686) using readline 5.1

Ubuntu 12.04.2 LTS

Revision history for this message
massimo morselli (mmorselli) wrote :

at line 401 tuning-primer attempt to get join_buffer_size doing:

mysql -Bse "show variables like 'join_buffer%'"

but unlike myslq, MariaDB have two variables that match:

join_buffer_size
join_buffer_space_limit

so, to fix, simply change line 943 from:

mysql_variable \'join_buffer%\' join_buffer_size

to

mysql_variable \'join_buffer_size%\' join_buffer_size

Changed in mysql-tuning-primer:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.