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

When performance schema is disabled, autosized parameters show 18446744073709551615 instead of -1

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 10.0.4
    • None
    • None

    Description

      Value of an autosized parameter in performance schema is supposed to be -1 when the performance schema is disabled. It works in MySQL 5.6.10, but not in 10.0 tree:

      MySQL [test]> select @@performance_schema_max_table_instances;
      +------------------------------------------+
      | @@performance_schema_max_table_instances |
      +------------------------------------------+
      |                                       -1 |
      +------------------------------------------+
      1 row in set (0.00 sec)
       
      MySQL [test]> select @@performance_schema;
      +----------------------+
      | @@performance_schema |
      +----------------------+
      |                    0 |
      +----------------------+
      1 row in set (0.00 sec)
       
      MySQL [test]> select @@version;
      +-----------+
      | @@version |
      +-----------+
      | 5.6.10    |
      +-----------+
      1 row in set (0.00 sec)

      MariaDB [test]> select @@performance_schema_max_table_instances;
      +------------------------------------------+
      | @@performance_schema_max_table_instances |
      +------------------------------------------+
      |                     18446744073709551615 |
      +------------------------------------------+
      1 row in set (0.00 sec)
       
      MariaDB [test]> select @@performance_schema;
      +----------------------+
      | @@performance_schema |
      +----------------------+
      |                    0 |
      +----------------------+
      1 row in set (0.00 sec)
       
      MariaDB [test]> select @@version;
      +----------------------+
      | @@version            |
      +----------------------+
      | 10.0.3-MariaDB-debug |
      +----------------------+
      1 row in set (0.00 sec)

      Attachments

        Issue Links

          Activity

            People

              timour Timour Katchaounov (Inactive)
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 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.