mariadb/storage
Konstantin Osipov 0e9b910d6b A test case for Bug#50788 "main.merge fails on HPUX",
and a backport of relevant changes from the 6.0
version of the fix done by Ingo Struewing.
The bug itself was fixed by the patch for Bug#54811.


MyISAMMRG engine would try to use MMAP on its children
even on platforms that don't support it and even if
myisam_use_mmap option was off.
This lead to an infinite hang in INSERT ... SELECT into 
a MyISAMMRG table when the destination MyISAM table
was also selected from.

A bug in duplicate detection fixed by 54811 was essential to 
the hang - when a duplicate is detected, the optimizer 
disables the use of memory mapped files, and it wasn't the case.

The patch below is also to not turn on MMAP on children tables
if myisam_use_mmap is off.
A test case is added to cover MyISAMMRG and myisam_use_mmap
option.
2010-07-02 19:21:07 +04:00
..
archive Merge of mysql-5.1-bugteam into mysql-trunk-merge. 2010-06-10 22:30:49 -03:00
blackhole Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
csv Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
example Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
federated Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
heap Fix a build break with cmake: remove the custom defines 2010-06-15 15:15:42 +04:00
ibmdb2i Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
innobase WL#5349 Change default storage engine to InnoDB 2010-06-17 22:51:35 +02:00
myisam A test case for Bug#50788 "main.merge fails on HPUX", 2010-07-02 19:21:07 +04:00
myisammrg A test case for Bug#50788 "main.merge fails on HPUX", 2010-07-02 19:21:07 +04:00
ndb Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
perfschema Bug#53445: Build with -Wall and fix warnings that it generates 2010-05-31 12:29:54 -03:00
Makefile.am Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00