mariadb/storage
Sergey Vojtovich a82cc50958 BUG#51307 - widespread corruption with partitions and
insert...select

Queries following bulk insert into an empty MyISAM table
may break it. This was pure MyISAM problem.

When bulk insert into an empty table is complete, MyISAM
may want to enable indexes via repair by sort. If repair
by sort fails (e.g. insufficient buffer), MyISAM failover
to repair with key cache, requesting repair of data file.

Repair of data file performs data file substitution. This
means that current table instance will point to new data
file. Other cached table instances are still pointing to
an old, deleted data file.

This is fixed by not requesting repair of data file
during enable indexes.

Explicit REPAIR is not affected, since it flushes all
table instances.

mysql-test/r/myisam.result:
  A test case for BUG#51307.
mysql-test/t/myisam.test:
  A test case for BUG#51307.
storage/myisam/ha_myisam.cc:
  When enabling indexes do not attempt to repair data file.
2010-03-02 13:45:50 +04:00
..
archive BUG#48757 - missing .ARZ file causes server crash 2010-02-12 16:33:03 +04:00
blackhole Bug #40877: multi statement execution fails in 5.1.30 2009-10-16 13:29:42 +03:00
csv Bug#33717 INSERT...(default) fails for enum. Crashes CSV tables, loads spaces for MyISAM 2010-02-17 16:13:42 +04:00
example Backport WL#3653 to 5.1 to enable bundled innodb plugin. 2009-06-10 10:59:49 +02:00
federated Bug#47382 'mysqladmin debug' crash on 64-bit Windows 2009-11-10 13:41:43 -06:00
heap Merge from 5.0 2009-09-17 17:25:52 +02:00
ibmdb2i merging with mysql-5.1-bugteam 2009-12-11 17:27:12 +05:30
innobase Applying InnoDB snapshot, fixes BUG#46193. 2010-01-22 13:57:02 +04:00
innodb_plugin Fix for BUG#49502 - CMake error compiling 5.1 on Windows 2009-12-14 13:42:26 +05:30
myisam BUG#51307 - widespread corruption with partitions and 2010-03-02 13:45:50 +04:00
myisammrg Fix for valgrind warning: check whether pointer was initialized. 2010-02-02 11:17:58 -02:00
ndb Apply patch on behalf of the NDB team: 2010-01-20 22:21:18 -02: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