[MDEV-16995] ER_CANT_CREATE_GEOMETRY_OBJECT encountered for a query with optimizer_use_condition_selectivity>=3 Created: 2018-08-16  Updated: 2018-08-29  Resolved: 2018-08-29

Status: Closed
Project: MariaDB Server
Component/s: Optimizer
Affects Version/s: 10.1, 10.2, 10.3
Fix Version/s: 10.0.37, 10.1.36, 10.2.18, 10.3.10, 10.4.0

Type: Bug Priority: Major
Reporter: Varun Gupta (Inactive) Assignee: Varun Gupta (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-15253 Default optimizer setting changes for... Closed

 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; 
 



 Comments   
Comment by Varun Gupta (Inactive) [ 2018-08-16 ]

Disable selectivity analysis for GEOMETRY columns

Comment by Varun Gupta (Inactive) [ 2018-08-17 ]

Patch
http://lists.askmonty.org/pipermail/commits/2018-August/012805.html

Comment by Sergei Petrunia [ 2018-08-23 ]

(Review input provided over voice call)

Comment by Varun Gupta (Inactive) [ 2018-08-24 ]

Updated Patch
http://lists.askmonty.org/pipermail/commits/2018-August/012823.html

Comment by Sergei Petrunia [ 2018-08-26 ]

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

Generated at Thu Feb 08 08:33:07 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.