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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 10.0.0
    • None
    • 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

      Attachments

        Activity

          People

            igor Igor Babaev
            elenst Elena Stepanova
            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.