Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3787

LP:702084 - myisam_block_size is not reported in SHOW GLOBAL VARIABLES

    XMLWordPrintable

Details

    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?

      Attachments

        Activity

          People

            serg Sergei Golubchik
            shinguz shinguz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.