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

              People

              • Assignee:
                varun Varun Gupta
                Reporter:
                varun Varun Gupta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: