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

SELECT from I_S.QUERY_CACHE_INFO produces ER_UNKNOWN_ERROR when query cache size is 0

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.5.31
    • Fix Version/s: 5.5.32
    • Component/s: None
    • Labels:
      None

      Description

      MariaDB [test]> set global query_cache_size = 1024*1024;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> select * from information_schema.query_cache_info;
      Empty set (0.00 sec)
       
      MariaDB [test]> set global query_cache_size = 0;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> select * from information_schema.query_cache_info;
      ERROR 1105 (HY000): Unknown error

      bzr version-info

      revision-id: monty@askmonty.org-20130512082916-vjlzg3tjtlbvnowy
      revno: 3759
      branch-nick: 5.5

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                elenst Elena Stepanova
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: