1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
Ramil Kalimullin 17ed6b9abd Fix for bug#47019: Assertion failed: 0, file .\rt_mbr.c,
line 138 when forcing a spatial index

Problem: "Spatial indexes can be involved in the search 
for queries that use a function such as MBRContains() 
or MBRWithin() in the WHERE clause".
Using spatial indexes for JOINs with =, <=> etc.
predicates is incorrect.

Fix: disable spatial indexes for such queries.


mysql-test/r/select.result:
  Fix for bug#47019: Assertion failed: 0, file .\rt_mbr.c, 
  line 138 when forcing a spatial index
    - test result.
mysql-test/t/select.test:
  Fix for bug#47019: Assertion failed: 0, file .\rt_mbr.c, 
  line 138 when forcing a spatial index
    - test case.
sql/sql_select.cc:
  Fix for bug#47019: Assertion failed: 0, file .\rt_mbr.c, 
  line 138 when forcing a spatial index
    - disable spatial indexes for queries which use 
  non-spatial conditions (e.g. NATURAL JOINs).
2009-10-21 14:04:08 +05:00
..
2009-05-31 20:10:59 +08:00
2007-11-06 20:31:40 +02:00
2007-12-13 15:47:23 +04:00
2007-10-19 17:07:08 +02:00
2007-06-28 16:03:01 -07:00
2007-07-06 11:35:10 -07:00
2007-07-06 11:35:10 -07:00
2009-02-06 18:25:08 +01:00
2007-07-23 23:35:43 -07:00
2007-06-07 20:25:22 +02:00
2007-07-11 18:45:35 -07:00
2007-11-02 13:40:34 +03:00
2009-05-28 16:19:49 +05:00
2007-08-31 16:59:07 +05:00
2007-10-26 08:42:33 +02:00
2008-01-27 16:41:29 +01:00
2007-11-05 20:18:22 +01:00
2007-11-20 20:15:20 +04:00
2009-02-27 18:07:58 +02:00
2009-02-27 16:11:15 +02:00
2007-11-30 18:06:28 +01:00
2008-04-04 01:16:55 +04:00
2007-06-06 18:55:21 +05:00
2008-08-26 14:21:07 +05:00
2007-04-17 12:32:01 +02:00
2008-03-14 20:51:32 +01:00
2007-03-29 09:08:30 +05:00