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

Statistics: use_stat_tables (or use-stat-tables) command-line option is accepted, but ignored

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Server accepts --use-stat-tables=<symbolic value> or --use-stat-tables=<numeric value> options on the command line without any errors or warnings, but the actual value of the global variable does not get set, it remains NEVER. Changing the value at runtime works.

      bzr version-info

      revision-id: igor@askmonty.org-20120814194214-bc5hme0t1qeewrmj
      date: 2012-08-14 12:42:14 -0700
      build-date: 2012-08-17 06:01:06 +0400
      revno: 3358
      

      Test case:

      # Run as 
      # perl mysql-test-run.pl ---mysqld=--use-stat-tables=PREFERABLY <test name>
      
      SELECT @@use_stat_tables;
      

      Expected output:

      SELECT @@use_stat_tables;
      @@use_stat_tables
      PREFERABLY
      

      Actual output:

      SELECT @@use_stat_tables;
      @@use_stat_tables
      NEVER
      

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            igor Igor Babaev added a comment -

            The fix for the bug was pushed into maria-5.5-mwl248.

            Show
            igor Igor Babaev added a comment - The fix for the bug was pushed into maria-5.5-mwl248.

              People

              • Assignee:
                igor Igor Babaev
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: