myisam_block_size is not reported in SHOW GLOBAL VARIABLES

Bug #702084 reported by shinguz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Released
Wishlist
Sergei Golubchik

Bug Description

When we were playing around with the various MyISAM features we found that the server option myisam_block_size is not reported at all in the output of SHOW GLOBAL VARIABLES.

This was already discussed in bug #33098 http://bugs.mysql.com/bug.php?id=33098 but never fixed.

And from the user point of view I do not care if this is a variable or an option. I just want to see it in show global variables.

I was looking in the code to see if I can write a patch. But I have not found the reason, why this server option is not displayed but others are:

mysqld.cc

    741 static ulong opt_specialflag, opt_myisam_block_size;

   7195 {"myisam_block_size", OPT_MYISAM_BLOCK_SIZE,
   7196 "Block size to be used for MyISAM index pages.",
   7197 &opt_myisam_block_size, &opt_myisam_block_size, 0, GET_ULONG, REQUIRED_ARG,
   7198 MI_KEY_BLOCK_LENGTH, MI_MIN_KEY_BLOCK_LENGTH, MI_MAX_KEY_BLOCK_LENGTH,
   7199 0, MI_MIN_KEY_BLOCK_LENGTH, 0},

   9201 myisam_block_size=(uint) 1 << my_bit_log2(opt_myisam_block_size);

I hope somebody takes care about?

Changed in maria:
status: New → Confirmed
importance: Undecided → Wishlist
Changed in maria:
assignee: nobody → Sergei (sergii)
milestone: none → 5.2
Changed in maria:
status: Confirmed → Fix Committed
Changed in maria:
status: Fix Committed → Fix Released
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.