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

            Disable selectivity analysis for GEOMETRY columns

            varun Varun Gupta (Inactive) added a comment - Disable selectivity analysis for GEOMETRY columns
            varun Varun Gupta (Inactive) added a comment - Patch http://lists.askmonty.org/pipermail/commits/2018-August/012805.html

            (Review input provided over voice call)

            psergei Sergei Petrunia added a comment - (Review input provided over voice call)
            varun Varun Gupta (Inactive) added a comment - Updated Patch http://lists.askmonty.org/pipermail/commits/2018-August/012823.html

            Please fix the commit comment to show the correct MDEV# and then push.

            psergei Sergei Petrunia added a comment - Please fix the commit comment to show the correct MDEV# and then push.

            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.