[MDEV-3787] LP:702084 - myisam_block_size is not reported in SHOW GLOBAL VARIABLES Created: 2011-01-12  Updated: 2012-10-04  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: shinguz (Inactive) Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: Launchpad, MariaDB_5.2

Attachments: XML File LPexportBug702084.xml    

 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?



 Comments   
Comment by Rasmus Johansson (Inactive) [ 2011-10-28 ]

Launchpad bug id: 702084

Generated at Thu Feb 08 06:51:12 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.