MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
unknown 0b235009e6 Bug#17877 - Corrupted spatial index
CHECK TABLE could complain about a fully intact spatial index.
A wrong comparison operator was used for table checking. 
The result was that it checked for non-matching spatial keys. 
This succeeded if at least two different keys were present, 
but failed if only the matching key was present.

I fixed the key comparison.


myisam/mi_check.c:
  Bug#17877 - Corrupted spatial index
  Fixed the comparison operator for checking a spatial index.
  Using MBR_EQUAL | MBR_DATA to compare for equality and
  include the data pointer in the comparison. The latter
  finds the index entry that points to the current record.
  This is necessary for non-unique indexes.
  
  The old operator, SEARCH_SAME, is unknown to the rtree
  search functions and handled like MBR_DISJOINT.
myisam/mi_key.c:
  Bug#17877 - Corrupted spatial index
  Added a missing DBUG_RETURN.
myisam/rt_index.c:
  Bug#17877 - Corrupted spatial index
  Included the data pointer in the copy of the search key.
  This is necessary for searching the index entry that points
  to a specific record if the search_flag contains MBR_DATA.
myisam/rt_mbr.c:
  Bug#17877 - Corrupted spatial index
  Extended the RT_CMP() macro with an assert for an 
  unexpected comparison operator.
mysql-test/r/gis-rtree.result:
  Bug#17877 - Corrupted spatial index
  The test result.
mysql-test/t/gis-rtree.test:
  Bug#17877 - Corrupted spatial index
  The test case.
2006-06-28 14:27:37 +02:00
bdb
BitKeeper Merge mysql.com:/space/my/mysql-4.0 2005-12-07 06:46:43 +01:00
BUILD Makefile.am: 2006-06-17 15:37:23 +02:00
client Fixed some problems for Windows build 2006-06-06 09:59:45 -07:00
cmd-line-utils
dbug
Docs .del-changelog-4.1.xml~8aa496ebed09d868: 2006-05-04 16:16:18 -05:00
extra Merge mysql.com:/M40/push-4.0 into mysql.com:/M41/merge-4.1 2006-01-13 17:45:01 +01:00
heap
include bug #20318 (ctype_ucs2_def test fails with embedded) 2006-06-19 22:11:01 +05:00
innobase Applied innodb-4.1-ss31 snapshot. 2006-06-06 23:05:10 +04:00
isam
libmysql libmysql.c: 2006-04-06 11:47:46 +05:00
libmysql_r
libmysqld bug #20318 (ctype_ucs2_def test fails with embedded) 2006-06-19 22:11:01 +05:00
man
merge
myisam Bug#17877 - Corrupted spatial index 2006-06-28 14:27:37 +02:00
myisammrg
mysql-test Bug#17877 - Corrupted spatial index 2006-06-28 14:27:37 +02:00
mysys Bug#15328 Segmentation fault occured if my.cnf is invalid for escape sequence 2006-05-11 14:13:14 +02:00
ndb Makefile.am: 2006-06-17 15:37:23 +02:00
netware .del-mysql_install.def~8da659e7c0f7e571: 2006-06-16 22:29:52 +02:00
os2
pstack
regex
scripts Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 2006-06-26 23:47:14 +02:00
sql BUG#1662 - ALTER TABLE LIKE ignores DATA/INDEX DIRECTPORY 2006-06-27 22:22:43 +05:00
sql-bench
sql-common bug #20318 (ctype_ucs2_def test fails with embedded) 2006-06-19 22:11:01 +05:00
SSL
strings conf_to_src.c: 2006-04-06 10:17:01 +05:00
support-files mysql.spec.sh: 2006-06-23 00:37:31 +02:00
tests Merge mysql.com:/data0/mysqldev/my/mysql-4.1.16a-release 2006-05-24 14:12:19 +02:00
tools
VC++Files Fixed some problems for Windows build 2006-06-06 09:59:45 -07:00
vio
zlib Makefile.am: 2005-12-15 02:11:21 -03:00
.bzrignore BUG#3074: Unversioned symbols in shared library 2006-01-17 18:51:08 +04:00
.cvsignore
acinclude.m4 Bug#18818 configure: No longer finds OpenSSL on Mac OS X 2006-05-12 11:18:06 +02:00
config.guess updated libtool/autoconf files 2006-05-25 11:36:29 -07:00
config.sub updated libtool/autoconf files 2006-05-25 11:36:29 -07:00
configure.in Merge mysql.com:/data0/mysqldev/my/mysql-4.1.16a-release 2006-05-24 14:12:19 +02:00
COPYING
depcomp
install-sh
ltconfig
ltmain.sh updated libtool/autoconf files 2006-05-25 11:36:29 -07:00
Makefile.am
missing
mkinstalldirs
README README: 2006-04-01 04:13:33 +02:00

This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file.
- For commercial distributions, see the MySQLEULA.txt file.


For further information about MySQL or additional documentation, see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installation chapter.
- For future plans, see the TODO appendix.
- For the new features/bugfix history, see the News appendix.
- For the currently known bugs/misfeatures (known errors) see the problems
  appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

************************************************************

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.