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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.0.4
    • Component/s: None
    • Labels:
      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

              Assignee:
              timour Timour Katchaounov (Inactive)
              Reporter:
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: