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

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

              People

              • Assignee:
                psergey Sergei Petrunia
                Reporter:
                psergey Sergei Petrunia
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: