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

ERROR Plugin 'MEMORY' has ref_count=1 after shutdown for SJM queries.

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.33, 5.3.13
    • 5.5.33, 5.3.13
    • None
    • None

    Description

      Running the following test

      SET optimizer_switch = 'materialization=on,semijoin=on';
       
      CREATE TABLE t1 (pk INT, a INT, b INT, PRIMARY KEY(pk)) ENGINE=MyISAM;
      INSERT INTO t1 VALUES (1,3,5),(2,4,6);
      SELECT * FROM t1 WHERE 8 IN (SELECT MIN(pk) FROM t1) AND (pk = a OR pk = b);
       
      DROP TABLE t1;

      produces a warning:

      130912 10:35:46 [Warning] Plugin 'MEMORY' will be forced to shutdown
      130912 10:35:46 [ERROR] Plugin 'MEMORY' has ref_count=1 after shutdown.

      Attachments

        Issue Links

          Activity

            psergei Sergei Petrunia created issue -
            psergei Sergei Petrunia made changes -
            Field Original Value New Value
            psergei Sergei Petrunia made changes -
            Fix Version/s 5.5.33 [ 13300 ]
            Fix Version/s 5.3.13 [ 12602 ]
            Affects Version/s 5.5.33 [ 13300 ]
            Assignee Oleksandr Byelkin [ sanja ]
            psergei Sergei Petrunia made changes -
            Assignee Oleksandr Byelkin [ sanja ] Sergei Petrunia [ psergey ]
            psergei Sergei Petrunia made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            psergei Sergei Petrunia made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow defaullt [ 28913 ] MariaDB v2 [ 44587 ]
            ratzpo Rasmus Johansson (Inactive) made changes -
            Workflow MariaDB v2 [ 44587 ] MariaDB v3 [ 63942 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 63942 ] MariaDB v4 [ 147029 ]

            People

              psergei Sergei Petrunia
              psergei Sergei Petrunia
              Votes:
              0 Vote for this issue
              Watchers:
              1 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.