mariadb/storage
Dmitry Lenev 7e1cd4ae0d Fix for bug#11766714 (former bug @59888) "debug assertion when
attempt to create spatial index on char > 31 bytes".

Attempt to create spatial index on char field with length
greater than 31 byte led to assertion failure on server
compiled with safemutex support.

The problem occurred in mi_create() function which was called
to create a new version of table being altered. This function
failed since it detected an attempt to create a spatial key
on non-binary column and tried to return an error.
On its error path it tried to unlock THR_LOCK_myisam mutex
which has not been not locked at this point. Indeed such an
incorrect behavior was caught by safemutex wrapper and caused
assertion failure.

This patch fixes the problem by ensuring that mi_create()
doesn't releases THR_LOCK_myisam mutex on error path if it was
not acquired.
2011-02-15 14:03:05 +03:00
..
archive Bug#53445: Build with -Wall and fix warnings that it generates 2010-07-09 08:37:51 -03:00
blackhole Bug#53445: Build with -Wall and fix warnings that it generates 2010-07-09 08:37:51 -03:00
csv Bug#45288: pb2 returns a lot of compilation warnings on linux 2010-07-20 15:07:36 -03:00
example Bug#45288: pb2 returns a lot of compilation warnings on linux 2010-07-20 15:07:36 -03:00
federated Bug#45288: pb2 returns a lot of compilation warnings on linux 2010-07-09 09:00:17 -03:00
heap Merge 2010-12-29 00:47:05 +01:00
innobase Fix Bug #59465 btr_estimate_number_of_different_key_vals use incorrect offset 2011-01-28 00:50:10 -08:00
innodb_plugin Merge mysql-5.1-innodb -> mysql-5.1 2011-02-08 19:26:42 +02:00
myisam Fix for bug#11766714 (former bug @59888) "debug assertion when 2011-02-15 14:03:05 +03:00
myisammrg Bug#58057: 5.1 libmysql/libmysql.c unused variable/compile failure 2010-11-10 19:14:47 -02:00
ndb Merge 2010-12-29 00:47:05 +01:00
Makefile.am Backport WL#3653 to 5.1 to enable bundled innodb plugin. 2009-06-10 10:59:49 +02:00
mysql_storage_engine.cmake Bug #47797 CMake, engine can't specify additional libraries to link with 2009-10-08 14:54:11 +02:00