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

ER_CANT_CREATE_GEOMETRY_OBJECT encountered for a query with optimizer_use_condition_selectivity>=3

Details

    Description

      --source include/have_geometry.inc
       
      CREATE TABLE t1 (a POINT);
      INSERT INTO t1 VALUES (POINT(1,1)),(POINT(1,2)),(POINT(1,3));
      set @@use_stat_tables= PREFERABLY;
      set @@optimizer_use_condition_selectivity=3;
      SELECT COUNT(*) FROM t1 WHERE a IN ('test','test1');
      drop table t1; 
       
      
      

      Attachments

        Issue Links

          Activity

            varun Varun Gupta (Inactive) created issue -
            varun Varun Gupta (Inactive) made changes -
            Field Original Value New Value
            Description --source include/have_geometry.inc

            {noformat}
            CREATE TABLE t1 (a POINT);
            INSERT INTO t1 VALUES (POINT(1,1)),(POINT(1,2)),(POINT(1,3));
            set @@use_stat_tables= PREFERABLY;
            set @@optimizer_use_condition_selectivity=3;
            SELECT COUNT(*) FROM t1 WHERE a IN ('test','test1');
            drop table t1;
            {noformat}
            varun Varun Gupta (Inactive) made changes -
            Description --source include/have_geometry.inc

            {noformat}
            CREATE TABLE t1 (a POINT);
            INSERT INTO t1 VALUES (POINT(1,1)),(POINT(1,2)),(POINT(1,3));
            set @@use_stat_tables= PREFERABLY;
            set @@optimizer_use_condition_selectivity=3;
            SELECT COUNT(*) FROM t1 WHERE a IN ('test','test1');
            drop table t1;
            {noformat}

            {code:sql}
            --source include/have_geometry.inc

            CREATE TABLE t1 (a POINT);
            INSERT INTO t1 VALUES (POINT(1,1)),(POINT(1,2)),(POINT(1,3));
            set @@use_stat_tables= PREFERABLY;
            set @@optimizer_use_condition_selectivity=3;
            SELECT COUNT(*) FROM t1 WHERE a IN ('test','test1');
            drop table t1;


            {code}
            varun Varun Gupta (Inactive) made changes -
            Fix Version/s 10.1 [ 16100 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.3 [ 22126 ]
            varun Varun Gupta (Inactive) made changes -
            Summary ER_CANT_CREATE_GEOMETRY_OBJECT encountered for a query with otimizer_use_condition_selectivity>=3 ER_CANT_CREATE_GEOMETRY_OBJECT encountered for a query with optimizer_use_condition_selectivity>=3
            varun Varun Gupta (Inactive) made changes -
            varun Varun Gupta (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            varun Varun Gupta (Inactive) made changes -
            Assignee Varun Gupta [ varun ] Sergei Petrunia [ psergey ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            psergei Sergei Petrunia made changes -
            Assignee Sergei Petrunia [ psergey ] Varun Gupta [ varun ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            varun Varun Gupta (Inactive) made changes -
            Status Stalled [ 10000 ] In Progress [ 3 ]
            varun Varun Gupta (Inactive) made changes -
            Assignee Varun Gupta [ varun ] Sergei Petrunia [ psergey ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            psergei Sergei Petrunia made changes -
            Assignee Sergei Petrunia [ psergey ] Varun Gupta [ varun ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            varun Varun Gupta (Inactive) made changes -
            Fix Version/s 10.0.37 [ 22917 ]
            Fix Version/s 10.1.36 [ 23117 ]
            Fix Version/s 10.2.18 [ 23112 ]
            Fix Version/s 10.3.10 [ 23140 ]
            Fix Version/s 10.4.0 [ 23115 ]
            Fix Version/s 10.2 [ 14601 ]
            Fix Version/s 10.1 [ 16100 ]
            Fix Version/s 10.3 [ 22126 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 88944 ] MariaDB v4 [ 154805 ]

            People

              varun Varun Gupta (Inactive)
              varun Varun Gupta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.