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

Status variables are not all listed alphabetically

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Fixed
    • 10.0.4, 5.5.33a
    • 5.5.34
    • None
    • None

    Description

      The status variables are mostly, but not entirely, listed alphabetically.

      For example:
      SHOW STATUS LIKE 'b%';

      ...

      Binlog_commits 5
      Binlog_group_commits 5
      Binlog_snapshot_file mariadb-bin.000166
      Binlog_snapshot_position 369
      Binlog_bytes_written 0
      Binlog_cache_disk_use 0

      ...

      Variables listed in sql/mysqld.cc are alphabetical, but the variables added elsewhere appear in a block before.

      A similar, but unrelated, error occurs with the C's:
      SHOW STATUS LIKE 'c%';

      Com_admin_commands 0
      Com_assign_to_keycache 0
      Com_alter_db 0

      ...

      Here, Com_assign... appears too early because it is not listed alphabetically in mysqld.cc

      Attachments

        Issue Links

          Activity

            greenman Ian Gilfillan added a comment -

            The bug report is not a complete list of everything that isn't alphabetical, but I will report more here as I come across them:

            Innodb_num_open_files, Innodb_truncated_status_writes and Innodb_available_undo_logs all appear out of order at the end of the I's

            greenman Ian Gilfillan added a comment - The bug report is not a complete list of everything that isn't alphabetical, but I will report more here as I come across them: Innodb_num_open_files, Innodb_truncated_status_writes and Innodb_available_undo_logs all appear out of order at the end of the I's
            greenman Ian Gilfillan added a comment -

            This is not yet entirely fixed in 10.0.6. The C's are correct, but not the issues reported above with the B's and the I's

            greenman Ian Gilfillan added a comment - This is not yet entirely fixed in 10.0.6. The C's are correct, but not the issues reported above with the B's and the I's

            Yes, the fix for Binlog* variables is too complex to be worth the troubles. I'll sort Innodb's variables, though.

            serg Sergei Golubchik added a comment - Yes, the fix for Binlog* variables is too complex to be worth the troubles. I'll sort Innodb's variables, though.

            People

              serg Sergei Golubchik
              greenman Ian Gilfillan
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.