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

Status variables are not all listed alphabetically

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 10.0.4, 5.5.33a
    • Fix Version/s: 5.5.34
    • Component/s: None
    • Labels:
      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

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            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

            Show
            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
            Hide
            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

            Show
            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
            Hide
            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.

            Show
            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

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                greenman Ian Gilfillan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m